mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Fix mouse wheel scrolling of custom patch view
Mouse wheel scrolling of the custom patch view worked *unless* a file (as opposed to a directory) is selected in the commit files view. The reason was an obvious typo in the AttachControllers call.
This commit is contained in:
parent
a50712b6c2
commit
24e98d1792
|
|
@ -299,7 +299,7 @@ func (gui *Gui) resetHelpersAndControllers() {
|
|||
)
|
||||
|
||||
controllers.AttachControllers(gui.State.Contexts.CustomPatchBuilderSecondary,
|
||||
verticalScrollControllerFactory.Create(gui.State.Contexts.CustomPatchBuilder),
|
||||
verticalScrollControllerFactory.Create(gui.State.Contexts.CustomPatchBuilderSecondary),
|
||||
)
|
||||
|
||||
controllers.AttachControllers(gui.State.Contexts.MergeConflicts,
|
||||
|
|
|
|||
Loading…
Reference in a new issue