mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
9bb7d96bf9
commit
6df07ce90c
|
@ -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)")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue