mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Fix inverted border drag direction in splits layout
Agent-Logs-Url: https://github.com/kovidgoyal/kitty/sessions/10200944-3143-4347-880c-f4d5b96749f5 Co-authored-by: kovidgoyal <1308621+kovidgoyal@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
53ec55a1da
commit
c3a111fbd2
@@ -211,6 +211,8 @@ Detailed list of changes
|
|||||||
|
|
||||||
- macOS: Add Copy and Paste menu items to the Edit menu in the global menu bar (:iss:`9780`)
|
- macOS: Add Copy and Paste menu items to the Edit menu in the global menu bar (:iss:`9780`)
|
||||||
|
|
||||||
|
- Fix dragging of splits layout borders sometimes moving in the wrong direction (:pull:`9447`)
|
||||||
|
|
||||||
0.46.2 [2026-03-21]
|
0.46.2 [2026-03-21]
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|||||||
@@ -498,9 +498,9 @@ class Pair:
|
|||||||
return False
|
return False
|
||||||
if self.two == gid:
|
if self.two == gid:
|
||||||
return True
|
return True
|
||||||
if not isinstance(self.two, Pair):
|
if isinstance(self.two, Pair):
|
||||||
return False
|
return self.two.pair_for_window(gid) is not None
|
||||||
return self.two.is_group_on_second(gid)
|
return False
|
||||||
|
|
||||||
def find_window_in_tree(self, window_id: int) -> 'list[tuple[Pair, bool]] | None':
|
def find_window_in_tree(self, window_id: int) -> 'list[tuple[Pair, bool]] | None':
|
||||||
# Returns list of (pair, is_in_one) from self down to the pair containing window_id.
|
# Returns list of (pair, is_in_one) from self down to the pair containing window_id.
|
||||||
|
|||||||
Reference in New Issue
Block a user