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

fix(#2309): fix diff scroll

This commit is contained in:
Ryooooooga
2022-12-20 22:25:49 +09:00
parent 43b5a80738
commit 7bdba1abe4
2 changed files with 21 additions and 9 deletions

View File

@ -119,7 +119,7 @@ func (gui *Gui) resetControllers() {
undoController := controllers.NewUndoController(common)
globalController := controllers.NewGlobalController(common)
contextLinesController := controllers.NewContextLinesController(common)
verticalScrollControllerFactory := controllers.NewVerticalScrollControllerFactory(common)
verticalScrollControllerFactory := controllers.NewVerticalScrollControllerFactory(common, &gui.viewBufferManagerMap)
branchesController := controllers.NewBranchesController(common)
gitFlowController := controllers.NewGitFlowController(common)