mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-10 04:07:18 +02: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 New Issue
Block a user