mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
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
Block a user