mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-20 06:05:16 +00:00
Fix vertical biasing of last window in grid not working when number of windows is odd
This commit is contained in:
parent
2803e45380
commit
2931afa0ae
1 changed files with 1 additions and 1 deletions
|
|
@ -523,7 +523,7 @@ class Grid(Layout): # {{{
|
|||
attr = 'biased_cols'
|
||||
else:
|
||||
b = self.biased_rows
|
||||
if nrows < 2:
|
||||
if max(nrows, special_rows) < 2:
|
||||
return False
|
||||
bias_idx = row_num
|
||||
layout_func = self.ylayout
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue