mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-07-02 13:52:20 +00: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:
parent
53ec55a1da
commit
c3a111fbd2
2 changed files with 5 additions and 3 deletions
|
|
@ -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`)
|
||||
|
||||
- Fix dragging of splits layout borders sometimes moving in the wrong direction (:pull:`9447`)
|
||||
|
||||
0.46.2 [2026-03-21]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -498,9 +498,9 @@ class Pair:
|
|||
return False
|
||||
if self.two == gid:
|
||||
return True
|
||||
if not isinstance(self.two, Pair):
|
||||
return False
|
||||
return self.two.is_group_on_second(gid)
|
||||
if isinstance(self.two, Pair):
|
||||
return self.two.pair_for_window(gid) is not None
|
||||
return False
|
||||
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue