mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 15:46:26 -04:00
more lenient for switching into portrait mode
This commit is contained in:
parent
1fd35f3824
commit
b39bcd5c61
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue