mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-28 01:10:54 +01:00
The zoom-in rule compared each request with the last full render, but the canvas replaces its image with every preview it is handed. A zoom out that showed its preview and was reversed before refining was measured from the obsolete full image: after a 1x render, a 0.25x preview (0.0625 pixels per unit) and a 2x request, the 2x preview was suppressed although the screen held an image eight times less dense, and the late preview too. Renders now records the image it hands over: a preview, a full render and, in the browser, a full render shown while it is drawn again (Refined::Shown). The watchdog's late preview is followed by its request's refined image, which the render thread records, so it needs no record of its own. previews_cover_the_view_for_any_zoom_and_density asked for previews in a row with nothing refined between, so a preview inside the one before at its zoom is now rightly suppressed; it restores its full render before each. Reported by FredApps in review.