diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-05 13:34:23 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-06 19:34:32 +1000 |
commit | fbb33b7abc25a19b2db11354a872422818564e1e (patch) | |
tree | 569b9026ca139aa22c5bd514a64b11a4f77d2098 /pkg/gui/main_panels.go | |
parent | 7178bab6b4539f43f0dbf61549629380a8c5148d (diff) |
remove code that I'm pretty sure isn't needed
Diffstat (limited to 'pkg/gui/main_panels.go')
-rw-r--r-- | pkg/gui/main_panels.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/gui/main_panels.go b/pkg/gui/main_panels.go index cd9e57ece..604b90c3a 100644 --- a/pkg/gui/main_panels.go +++ b/pkg/gui/main_panels.go @@ -171,11 +171,6 @@ func (gui *Gui) refreshMainViews(opts refreshMainOpts) error { func (gui *Gui) splitMainPanel(splitMainPanel bool) { gui.State.SplitMainPanel = splitMainPanel - - // no need to set view on bottom when splitMainPanel is false: it will have zero size anyway thanks to our view arrangement code. - if splitMainPanel { - gui.Views.Secondary.Visible = true - } } func (gui *Gui) isMainPanelSplit() bool { |