mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
When we scroll more than a single screen's worth of lines, the new first visible screen row ends up exceeding the previous last rendered screen row, so we need to use the maximum of the two when deciding which new rows to render.