Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Loop/Managers/LoopManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ class LoopManager: ObservableObject {
self.targetWindow!,
to: self.currentAction,
on: screenToResizeOn,
supressAnimations: true
suppressAnimations: true
)
}
}
Expand Down Expand Up @@ -235,7 +235,7 @@ class LoopManager: ObservableObject {
self.targetWindow!,
to: self.currentAction,
on: screenToResizeOn,
supressAnimations: true
suppressAnimations: true
)
}
}
Expand Down
4 changes: 2 additions & 2 deletions Loop/Window Management/WindowEngine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct WindowEngine {
_ window: Window,
to action: WindowAction,
on screen: NSScreen,
supressAnimations: Bool = false
suppressAnimations: Bool = false
) {
guard action.direction != .noAction else { return }
let willChangeScreens = ScreenManager.screenContaining(window) != screen
Expand Down Expand Up @@ -60,7 +60,7 @@ struct WindowEngine {
print("Target window frame: \(targetWindowFrame)")

let enhancedUI = window.enhancedUserInterface ?? false
var animate = (!supressAnimations && Defaults[.animateWindowResizes] && !enhancedUI)
var animate = (!suppressAnimations && Defaults[.animateWindowResizes] && !enhancedUI)
if animate {
if PermissionsManager.ScreenRecording.getStatus() == false {
PermissionsManager.ScreenRecording.requestAccess()
Expand Down