From b39bcd5c61cfac6156217a37ea90b7e2eb6b112a Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 18 May 2020 22:40:29 +1000 Subject: [PATCH] more lenient for switching into portrait mode --- pkg/gui/arrangement.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go index 8a209358b..bc7f674d1 100644 --- a/pkg/gui/arrangement.go +++ b/pkg/gui/arrangement.go @@ -113,7 +113,7 @@ func (gui *Gui) getViewDimensions(informationStr string, appStatus string) map[s sideSectionWeight, mainSectionWeight := gui.getMidSectionWeights() sidePanelsDirection := COLUMN - portraitMode := width <= 84 && height > 50 + portraitMode := width <= 84 && height > 45 if portraitMode { sidePanelsDirection = ROW }