(display)
| 4340 | // but using getBoundingClientRect to get a sub-pixel-accurate |
| 4341 | // result. |
| 4342 | function compensateForHScroll(display) { |
| 4343 | return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left |
| 4344 | } |
| 4345 | |
| 4346 | // Returns a function that estimates the height of a line, to use as |
| 4347 | // first approximation until the line becomes visible (and is thus |
no outgoing calls
no test coverage detected