1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2026-01-26 01:41:35 +03:00
Files
lazygit/vendor/github.com
Stefan Haller efd4298b5e Avoid scrolling the selection into view on refresh
It is possible to scroll the selection out of view using the mouse wheel; after
doing this, it would sometimes scroll into view by itself again, for example
when a background fetch occurred. In the files panel this would even happen
every 10s with every regular files refresh.

Fix this by adding a scrollIntoView parameter to HandleFocus, which is false by
default, and is only set to true from controllers that change the selection.
2025-12-23 15:34:38 +01:00
..
2024-02-18 15:36:56 +01:00
2022-03-18 21:36:28 +11:00
2025-10-02 17:28:13 +02:00
2022-03-18 21:36:28 +11:00
2025-04-09 11:23:55 +02:00
2019-09-01 21:24:03 +10:00
2025-04-09 11:23:55 +02:00
2022-03-18 21:36:28 +11:00
2025-10-02 17:28:13 +02:00
2025-04-09 11:23:55 +02:00
2025-04-09 11:23:55 +02:00
2022-03-18 21:36:28 +11:00
2018-08-09 14:41:58 +10:00
2022-03-18 21:36:28 +11:00
2022-03-18 21:36:28 +11:00
2025-10-02 17:28:13 +02:00
2025-10-02 17:28:13 +02:00
2019-09-01 21:24:03 +10:00
2025-04-09 11:23:55 +02:00
2025-04-09 11:23:55 +02:00
2025-04-09 11:23:55 +02:00
2025-04-09 11:23:55 +02:00
2025-04-09 11:23:55 +02:00
2025-04-09 11:23:55 +02:00
2025-04-09 11:23:55 +02:00
2022-03-18 21:36:28 +11:00