diff options
Diffstat (limited to 'pkg/gui/arrangement.go')
-rw-r--r-- | pkg/gui/arrangement.go | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go index 5ab8ab5dd..89236ae5c 100644 --- a/pkg/gui/arrangement.go +++ b/pkg/gui/arrangement.go @@ -105,20 +105,13 @@ func (gui *Gui) mainSectionChildren() []*boxlayout.Box { } } - main := "main" - secondary := "secondary" - if gui.secondaryViewFocused() { - // when you think you've focused the secondary view, we've actually just swapped them around in the layout - main, secondary = secondary, main - } - return []*boxlayout.Box{ { - Window: main, + Window: "main", Weight: 1, }, { - Window: secondary, + Window: "secondary", Weight: 1, }, } |