diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-02 14:33:20 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 3ea5e4d4b2b0fa3f555a1562acce5fb729b6ca02 (patch) | |
tree | 51498d4a92a5ba0844e256ca788483592150502f /pkg/gui/global_handlers.go | |
parent | 5f77ac8d6f1b1de0af59ca839f2773f34f441c4d (diff) |
allow scrolling when staging lines or building patch
Diffstat (limited to 'pkg/gui/global_handlers.go')
-rw-r--r-- | pkg/gui/global_handlers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/global_handlers.go b/pkg/gui/global_handlers.go index 2db37e5d4..a4526d46e 100644 --- a/pkg/gui/global_handlers.go +++ b/pkg/gui/global_handlers.go @@ -93,7 +93,7 @@ func (gui *Gui) scrollDownView(viewName string) error { return nil } -func (gui *Gui) scrollUpMain(g *gocui.Gui, v *gocui.View) error { +func (gui *Gui) scrollUpMain() error { if gui.canScrollMergePanel() { gui.State.Panels.Merging.UserScrolling = true } @@ -101,7 +101,7 @@ func (gui *Gui) scrollUpMain(g *gocui.Gui, v *gocui.View) error { return gui.scrollUpView("main") } -func (gui *Gui) scrollDownMain(g *gocui.Gui, v *gocui.View) error { +func (gui *Gui) scrollDownMain() error { if gui.canScrollMergePanel() { gui.State.Panels.Merging.UserScrolling = true } |