1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

allow user to scroll themselves inside merge panel

This commit is contained in:
Jesse Duffield
2020-05-19 18:29:56 +10:00
parent 36ac764133
commit cf5cefb2d6
3 changed files with 46 additions and 0 deletions

View File

@ -112,6 +112,10 @@ type mergingPanelState struct {
ConflictTop bool
Conflicts []commands.Conflict
EditHistory *stack.Stack
// UserScrolling tells us if the user has started scrolling through the file themselves
// in which case we won't auto-scroll to a conflict.
UserScrolling bool
}
type filePanelState struct {