mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
If we remove a large number of screen lines when we are scrolled down, the current @firstRenderedScreenRow may end up being larger than the number of screen rows we now have. Setting renderFrom to the @firstRenderedScreenRow in this case was causing the renderFrom to be larger than the renderTo, which was causing problems downstream with the new mapping code.