diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-04-16 15:27:56 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-04-16 17:29:17 +1000 |
commit | e68093fe9974296fe5afb22ec8e0adb1eb2f4316 (patch) | |
tree | 040dbfdb4dc438271d9f3febae410d25698f1a38 /pkg/gui/extras_panel.go | |
parent | b838b74801102b27782cc20c7396279630e77fba (diff) |
add scrollbars
Diffstat (limited to 'pkg/gui/extras_panel.go')
-rw-r--r-- | pkg/gui/extras_panel.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/gui/extras_panel.go b/pkg/gui/extras_panel.go index 462a5118e..6033f8516 100644 --- a/pkg/gui/extras_panel.go +++ b/pkg/gui/extras_panel.go @@ -46,15 +46,15 @@ func (gui *Gui) handleFocusCommandLog() error { func (gui *Gui) scrollUpExtra() error { gui.Views.Extras.Autoscroll = false - return gui.scrollUpView(gui.Views.Extras) + gui.scrollUpView(gui.Views.Extras) + + return nil } func (gui *Gui) scrollDownExtra() error { gui.Views.Extras.Autoscroll = false - if err := gui.scrollDownView(gui.Views.Extras); err != nil { - return err - } + gui.scrollDownView(gui.Views.Extras) return nil } |