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:
der richter 2024-04-01 23:00:52 +02:00
parent 9bb7d96bf9
commit 6df07ce90c
1 changed files with 1 additions and 1 deletions

View File

@ -505,7 +505,7 @@ class Window: NSWindow, NSWindowDelegate {
func addWindowScale(_ scale: Double) { func addWindowScale(_ scale: Double) {
if !isInFullscreen { if !isInFullscreen {
input?.command("add window-scale \(scale)") input?.command("add current-window-scale \(scale)")
} }
} }