mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-05 23:51:29 +02:00
Tall/fat layout: Fix resizing of windows when number of windows is <= num of full size windows not working
This commit is contained in:
@@ -133,6 +133,8 @@ class Tall(Layout):
|
||||
if num <= self.num_full_size_windows + 1:
|
||||
if mirrored:
|
||||
groups = tuple(reversed(groups))
|
||||
if num < self.num_full_size_windows + 1:
|
||||
main_bias = normalize_biases(main_bias[:num])
|
||||
xlayout = self.main_axis_layout(iter(groups), bias=main_bias)
|
||||
for wg, xl in zip(groups, xlayout):
|
||||
yl = next(self.perp_axis_layout(iter((wg,))))
|
||||
|
||||
Reference in New Issue
Block a user