diff options
Diffstat (limited to 'video/out/mac/view.swift')
-rw-r--r-- | video/out/mac/view.swift | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/mac/view.swift b/video/out/mac/view.swift index 3c0f34722f..047a5238e4 100644 --- a/video/out/mac/view.swift +++ b/video/out/mac/view.swift @@ -165,6 +165,7 @@ class View: NSView, CALayerDelegate { } override func magnify(with event: NSEvent) { + common.window?.isAnimating = event.phase != .ended event.phase == .ended ? common.windowDidEndLiveResize() : common.windowWillStartLiveResize() common.window?.addWindowScale(Double(event.magnification)) } |