mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-01-12 04:23:03 +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()
|
sideSectionWeight, mainSectionWeight := gui.getMidSectionWeights()
|
||||||
|
|
||||||
sidePanelsDirection := COLUMN
|
sidePanelsDirection := COLUMN
|
||||||
portraitMode := width <= 84 && height > 50
|
portraitMode := width <= 84 && height > 45
|
||||||
if portraitMode {
|
if portraitMode {
|
||||||
sidePanelsDirection = ROW
|
sidePanelsDirection = ROW
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user