Skip to content

Commit

Permalink
Merge pull request #1426 from strategiconquest/mac-tiling-fix
Browse files Browse the repository at this point in the history
Check if window snapping is enabled prior to prompting user to disable it
  • Loading branch information
rxhanson authored Jul 19, 2024
2 parents 304ca2c + 56f16d2 commit d331df7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Rectangle/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}

func checkForBuiltInTiling() {
guard #available(macOS 15, *), !Defaults.internalTilingNotified.enabled
guard #available(macOS 15, *),
!Defaults.internalTilingNotified.enabled,
!Defaults.windowSnapping.userDisabled
else {
return
}
Expand Down

0 comments on commit d331df7

Please sign in to comment.