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
@ -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…
x
Reference in New Issue
Block a user