fix: restore positive resize increments when clearing aspect lock

This commit is contained in:
2026-10-18 02:11:16 +02:00
parent 3e782aff31
commit dd02383c0b
5 changed files with 23 additions and 7 deletions
+2
View File
@@ -111,6 +111,8 @@ private enum CLIInstanceCheck {
"contentMinWidth": window.contentMinSize.width, "contentMinHeight": window.contentMinSize.height,
"contentMaxWidth": window.contentMaxSize.width, "contentMaxHeight": window.contentMaxSize.height,
"aspectWidth": window.aspectRatio.width, "aspectHeight": window.aspectRatio.height,
"resizeIncrementWidth": window.resizeIncrements.width,
"resizeIncrementHeight": window.resizeIncrements.height,
"resizable": window.styleMask.contains(.resizable),
]
if let surface = surface(in: content) {