Files
oak-gpui/crates
Andrew Lygin 4b767697af 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
2024-05-01 21:57:10 +03:00
..
2024-04-30 16:09:43 -06:00
2024-04-23 15:33:09 -06:00
2024-04-23 15:33:09 -06:00
2024-04-29 17:13:28 -07:00
2024-04-30 16:09:43 -06:00
2024-04-23 13:31:21 -04:00
2024-03-28 18:32:11 +01:00
2024-04-11 15:36:35 -06:00
2024-04-30 16:09:43 -06:00
2024-04-26 13:25:25 -06:00
2024-04-30 23:31:59 -06:00
2024-03-20 15:52:02 +01:00
2024-05-01 12:00:27 -06:00
2024-03-11 10:45:57 +01:00
2024-03-26 16:10:09 -07:00
2024-04-26 13:25:25 -06:00
2024-04-30 16:09:43 -06:00
2024-04-26 13:25:25 -06:00
2024-04-30 16:09:43 -06:00
2024-04-29 16:37:37 -04:00
2024-04-23 15:33:09 -06:00
2024-03-14 17:05:07 -04:00
2024-04-11 23:09:12 +02:00
2024-04-29 16:37:37 -04:00
2024-05-01 14:28:52 -04:00
2024-04-15 14:21:52 +02:00
2024-05-01 14:28:52 -04:00
2024-05-01 11:33:03 -04:00