Skip to content

Commit

Permalink
Check if window snapping is enabled prior to prompting user to disabl…
Browse files Browse the repository at this point in the history
…e it.
  • Loading branch information
strategiconquest committed Jul 19, 2024
1 parent 304ca2c commit 56f16d2
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 56f16d2

Please sign in to comment.