Skip to content

Commit

Permalink
fix: aero shake allowed in window switcher
Browse files Browse the repository at this point in the history
  • Loading branch information
ejbills committed Jan 4, 2025
1 parent bb72b56 commit 593aa87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ struct WindowPreviewHoverContainer: View {
}
if draggedWindowIndex == index {
let currentPoint = value.location
if checkForShakeGesture(currentPoint: currentPoint) {
if !windowSwitcherCoordinator.windowSwitcherActive, checkForShakeGesture(currentPoint: currentPoint) {
minimizeAllWindows()
DragPreviewCoordinator.shared.endDragging()
draggedWindowIndex = nil
Expand Down

0 comments on commit 593aa87

Please sign in to comment.