mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 20:36:03 +02:00
fix width of half screen mode
This commit is contained in:
parent
52f41ab0d5
commit
2756b82f57
1 changed files with 1 additions and 1 deletions
|
@ -549,7 +549,7 @@ func (gui *Gui) layout(g *gocui.Gui) error {
|
|||
case SCREEN_NORMAL:
|
||||
leftSideWidth = int(float64(width) * sidePanelWidthRatio)
|
||||
case SCREEN_HALF:
|
||||
leftSideWidth = width / 2
|
||||
leftSideWidth = width/2 - 2
|
||||
case SCREEN_FULL:
|
||||
currentView := gui.g.CurrentView()
|
||||
if currentView != nil && currentView.Name() == "main" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue