mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 19:04:25 +01:00
When the work area is smaller than the smallest window (800 x 500 points), `place` fits the restored window to it, but the native minimum inner size from `native_options` stayed at 800 x 500, so the system kept the window bigger than the work area. `restore` now lowers the minimum to the fitted size in each dimension where it is smaller, and keeps the normal minimum where the work area has room for it.