mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 18:37:50 +00:00
...
This commit is contained in:
parent
56bd1f59dd
commit
04735eb072
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ class Layout:
|
|||
|
||||
def modify_size_of_window(self, all_windows: WindowList, window_id: int, increment: float, is_horizontal: bool = True) -> bool:
|
||||
idx = all_windows.group_idx_for_window(window_id)
|
||||
if idx is None:
|
||||
if idx is None or not increment:
|
||||
return False
|
||||
return self.apply_bias(idx, increment, all_windows, is_horizontal)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue