diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 12:45:27 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | 4d14af5d4bc5d0ad6f3f2c3ec93ce83c6f9fe76d (patch) | |
tree | 9fe8b88b3899e81331e2e4496972dc6eb98ffdd0 /pkg/gui/line_by_line_panel.go | |
parent | 7953e58c7407a3de3a895d04e11fda4976e523f0 (diff) |
more lint fixes
Diffstat (limited to 'pkg/gui/line_by_line_panel.go')
-rw-r--r-- | pkg/gui/line_by_line_panel.go | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/pkg/gui/line_by_line_panel.go b/pkg/gui/line_by_line_panel.go index a676db498..df787b165 100644 --- a/pkg/gui/line_by_line_panel.go +++ b/pkg/gui/line_by_line_panel.go @@ -205,30 +205,6 @@ func (gui *Gui) handleMouseDrag() error { }) } -func (gui *Gui) handleMouseScrollUp() error { - return gui.withLBLActiveCheck(func(state *lBlPanelState) error { - if gui.popupPanelFocused() { - return nil - } - - state.SelectMode = LINE - - return gui.LBLCycleLine(-1, state) - }) -} - -func (gui *Gui) handleMouseScrollDown() error { - return gui.withLBLActiveCheck(func(state *lBlPanelState) error { - if gui.popupPanelFocused() { - return nil - } - - state.SelectMode = LINE - - return gui.LBLCycleLine(1, state) - }) -} - func (gui *Gui) getSelectedCommitFileName() string { idx := gui.State.Panels.CommitFiles.SelectedLineIdx |