mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-27 11:37:13 -06:00
The loupe's window rendering already evaluates every visible mask's alpha for an `Overlay::AllMasks` (its union is composed from the same alphas the selected-mask overlay uses), but `overlay_supports_window` refused it, so at 1:1 and closer "Show All Masks" fell back to a whole-frame render at the zoomed size: slower, and its detail stopped at the frame render's resolution. Allowing it makes the zoomed view a canvas-sized frame plus a native window, as a single mask's overlay already is. Tests: - tests_preview_limit::an_all_masks_overlay_at_one_to_one_is_a_window (fails before: "native 6000: the whole-frame render is 6000") - tests_window::an_all_masks_overlay_window_matches_the_whole_render (a window of the union matches the whole render's pixels, for every view)