diff --git a/Classes/PrefsWindowController.swift b/Classes/PrefsWindowController.swift index d99df65..c6427be 100644 --- a/Classes/PrefsWindowController.swift +++ b/Classes/PrefsWindowController.swift @@ -152,7 +152,10 @@ class PrefsWindowController: NSWindowController, NSWindowDelegate { context.duration = 0 } window.layoutIfNeeded() + NSAnimationContext.beginGrouping() + NSAnimationContext.current.duration = 0 view.isHidden = true + NSAnimationContext.endGrouping() }, completionHandler: { view.isHidden = false window.title = item.label