diff options
author | der richter <der.richter@gmx.de> | 2024-04-01 23:00:52 +0200 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-04-10 19:13:00 +0200 |
commit | 6df07ce90c894d561c179090675f30d811f9629b (patch) | |
tree | 49e662f25f9ade89eef5f329b92b77f755d8e233 /video/out | |
parent | 9bb7d96bf969f1bba3211c4eb802f8a6c391c392 (diff) | |
download | mpv-6df07ce90c894d561c179090675f30d811f9629b.tar.bz2 mpv-6df07ce90c894d561c179090675f30d811f9629b.tar.xz |
mac/window: fix window pinch gesture and modify current-window-scale
this will prevent jumping of the window size in the case the window size
was 'externally' modified and not via the window-scale property, when
using the pinch gesture.
Fixes #11594
Fixes #13799
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/mac/window.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/mac/window.swift b/video/out/mac/window.swift index 0bbc40ea1d..c5a711ed86 100644 --- a/video/out/mac/window.swift +++ b/video/out/mac/window.swift @@ -505,7 +505,7 @@ class Window: NSWindow, NSWindowDelegate { func addWindowScale(_ scale: Double) { if !isInFullscreen { - input?.command("add window-scale \(scale)") + input?.command("add current-window-scale \(scale)") } } |