Fix scrollbar auto-show for cursors out of sight (#11244)
This PR fixes scrollbar auto-show feature when there're not visible cursors. The intial behavior was broken in #11147. The problem is that `selections` only contains visible selections, so the `if` with `non_visible_cursors |= true` is only visited in rare edge cases when we have at least part of the selection still visible on the screen. But when we scroll far enough from the cursor, `non_visible_cursors` keeps its default `false` value, which is incorrect. Release Notes: - N/A
A
Andrew Lygin committed
4b767697af944ac638eef624d33eca42cb620eaf
Parent: 3dc5d48
Committed by GitHub <noreply@github.com>
on 5/1/2024, 6:57:10 PM