mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-30 23:57:43 +02: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:
		| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user