Skip to content

Commit

Permalink
🐞 Fix size/position adjustment window actions not working when previe…
Browse files Browse the repository at this point in the history
…w is disabled
  • Loading branch information
MrKai77 committed Sep 27, 2024
1 parent 604d086 commit a7955b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Loop/Window Management/WindowAction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ private extension WindowAction {

} else if direction.willAdjustSize {
// Return final frame of preview
if !isPreview {
if Defaults[.previewVisibility], !isPreview {
return LoopManager.lastTargetFrame
}

Expand All @@ -196,7 +196,7 @@ private extension WindowAction {

} else if direction.willShrink || direction.willGrow {
// Return final frame of preview
if !isPreview {
if Defaults[.previewVisibility], !isPreview {
return LoopManager.lastTargetFrame
}

Expand All @@ -219,7 +219,7 @@ private extension WindowAction {

} else if direction.willMove {
// Return final frame of preview
if !isPreview {
if Defaults[.previewVisibility], !isPreview {
return LoopManager.lastTargetFrame
}

Expand Down

0 comments on commit a7955b5

Please sign in to comment.