(target: number)
| 157 | contentSize: Size |
| 158 | ): Rect | null { |
| 159 | let withTarget = (target: number): Rect => |
| 160 | axis === 'x' |
| 161 | ? new Rect( |
| 162 | target, |
| 163 | previousVisibleRect.y, |
| 164 | previousVisibleRect.width, |
| 165 | previousVisibleRect.height |
| 166 | ) |
| 167 | : new Rect( |
| 168 | previousVisibleRect.x, |
| 169 | target, |
| 170 | previousVisibleRect.width, |
| 171 | previousVisibleRect.height |
| 172 | ); |
| 173 | |
| 174 | if (anchor) { |
| 175 | let target = computeScrollAnchorTarget( |
no outgoing calls
no test coverage detected