1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00
Jesse Duffield a5ee61c117 Properly fix accordion issue
The true issue was that we were focusing the line in the view before it gets resized in the layout function.
This meant if the view was squashed in accordion mode, the view wouldn't know how to set the cursor/origin to
focus the line.

Now we've got a queue of 'after layout' functions i.e. functions to call at the end of the layout function,
right before views are drawn.

The only caveat is that we can't have an infinite buffer so we're arbitrarily capping it at 1000 and dropping
functions if we exceed that limit. But that really should never happen.
2023-07-19 21:16:27 +10:00
..
2023-05-25 23:52:19 +10:00
2023-02-26 12:54:13 +11:00
2023-07-19 21:16:27 +10:00
2023-05-25 18:31:32 +10:00
2023-05-23 19:15:33 +10:00
2022-12-30 12:18:59 +11:00
2023-07-10 17:12:21 +10:00
2023-07-03 12:57:11 +10:00