Files
vectorcraft/crates
dotCooCoo a487e20cee Save for Web: Optimize to File Size starts at the size of the art as it is now
The starting desired size came from the preview cache, matched by settings
only, so an edit made after the preview drew and before the button's click
was handled gave the previous art's size. The cache is now used only when
it holds the active document at its current revision; otherwise the image
is made once and kept for the preview drawn in the same frame.

The size in K is computed with a u128 product, so a file past about 4 MiB
on a 32-bit target (wasm32) no longer reads smaller than it is.
2026-11-16 13:36:05 -08:00
..
…
…
…
…