mirror of
https://github.com/yattee/yattee.git
synced 2026-08-06 07:11:28 +00:00
Aspect-driven window sizing (contentAspectRatio + setFrame) ran even while the separate player window was in native fullscreen, making AppKit fit and center the content inside the fullscreen space with black bars around it. Defer the aspect lock and auto-resize while fullscreen by parking the ratio, then replay it in windowDidExitFullScreen so the window is ratio-locked (and auto-fitted when that setting is on) once back in windowed mode.