mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-28 09:19:25 +01:00
MIN_SIZE is in the interface's points, so at 2x zoom it holds the window to 1800 x 1120 system points: on a 1200 x 800 screen that minimum blocked the fit and the maximize though the screen is larger than 900 x 560. The minimum is now compared in the system's points and lowered to the fitted size (or the screen, before maximizing). Tests in a_window_on_a_screen_smaller_than_its_minimum_fits_within_the_screen and the zoomed case of the_window_is_maximized_once_it_shows_and_again_if_it_only_says_so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>