1
0
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:
Jesse Duffield 2020-05-18 22:40:29 +10:00
parent 1fd35f3824
commit b39bcd5c61

View File

@ -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
}