Skip to content

Commit

Permalink
Naive attempt to fix native crash
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabobko committed Mar 9, 2024
1 parent 68df46c commit 846c94c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/mouse/moveWithMouse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ extension CGPoint {
case .accordion:
target = tree.mostRecentChild
}
switch target?.tilingTreeNodeCasesOrThrow() {
case nil:
return nil
guard let target else { return nil }
switch target.tilingTreeNodeCasesOrThrow() {
case .window(let window):
return window
case .tilingContainer(let container):
Expand Down

0 comments on commit 846c94c

Please sign in to comment.