mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 05:53:08 -05:00
A raster of the whole object kept at a lower resolution now draws after a pan only when the pan is whole to within floating-point rounding (a tolerance scaled to the translation, between 1e-9 and 1e-6 px per axis, and never looser than the 1e-6 px check rasters cropped to the view use). A width-capped raster panned vertically by 40.0000001 or 39.9999999 px keeps its scale, size and rounded origin, so the looser check drew it on a shifted sampling grid; it is now filtered again, and a pan of exactly 40 px still draws the kept raster.