mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 13:12:53 +00:00
Entering the corner layout cleared the window's aspect-ratio lock by setting contentAspectRatio to zero. That doesn't remove the constraint: AppKit keeps its aspect-ratio resize handler active with a degenerate 0:0 ratio, so every interactive resize resolved to the current size and the window couldn't be resized at all. Reset contentResizeIncrements to 1x1 instead, the supported way back to free resizing (aspect ratio and resize increments are mutually exclusive). Free resize now also requires the corner panels to be visible. With the panels hidden only the video remains, so the window follows the ratio lock (and auto-fit, when on) exactly like the stacked layout. The new AppEnvironment.isCornerPanelLayoutActive gate covers the layout-change handler, window creation, and the fullscreen-exit replay.