1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-05 00:59:19 +02:00

better weight distribution in window arrangement

This commit is contained in:
Jesse Duffield
2022-04-17 09:27:17 +10:00
parent 2fa6d8037c
commit 3477cbc81f
7 changed files with 339 additions and 109 deletions

View File

@ -1053,7 +1053,7 @@ func (g *Gui) draw(v *View) error {
return nil
}
if !v.Visible || v.y1 < v.y0 {
if !v.Visible || v.y1 < v.y0 || v.x1 < v.x0 {
return nil
}