mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-20 15:35:03 +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 num <= self.num_full_size_windows + 1:
|
||||||
if mirrored:
|
if mirrored:
|
||||||
groups = tuple(reversed(groups))
|
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)
|
xlayout = self.main_axis_layout(iter(groups), bias=main_bias)
|
||||||
for wg, xl in zip(groups, xlayout):
|
for wg, xl in zip(groups, xlayout):
|
||||||
yl = next(self.perp_axis_layout(iter((wg,))))
|
yl = next(self.perp_axis_layout(iter((wg,))))
|
||||||
|
|||||||
Reference in New Issue
Block a user