mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Merge branch 'fix-grid-neighbors' of https://github.com/strix/kitty
This commit is contained in:
commit
b835afefee
2 changed files with 4 additions and 1 deletions
|
|
@ -63,6 +63,9 @@ Changelog
|
|||
- Fix second cell of emoji created using variation selectors not having
|
||||
the same attributes as the first cell (:iss:`1109`)
|
||||
|
||||
- Fix focusing neighboring windows int he grid layout with less than 4 windows
|
||||
not working (:iss:`1115`)
|
||||
|
||||
0.12.3 [2018-09-29]
|
||||
------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -721,7 +721,7 @@ class Grid(Layout): # {{{
|
|||
def neighbors_for_window(self, window, windows):
|
||||
n = len(windows)
|
||||
if n < 4:
|
||||
return Tall.neighbors_for_window(window, windows)
|
||||
return Tall.neighbors_for_window(self, window, windows)
|
||||
try:
|
||||
n, ncols, nrows, special_rows, special_col = windows[0].layout_data
|
||||
except Exception:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue