Files
figcraft/docs
Denis Gomes c8d2b2c7c1 M8: a zoom in is measured from the image on screen, a preview included
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.
2026-11-19 15:12:53 -05:00
..