mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 18:27:02 -06:00
pasted_pdf_never_panics failed at random (about one run in four at 256 cases): a mutated digit turns a curve coordinate like 245.18535 into 245018535, so the pasted art spans ~1e8 pt, beyond MAX_COORD, and edit.paste rightly refuses it with "result would exceed the canvas", leaving the document unchanged. The helper unwrapped that result. The test is about never panicking, so paste_from_elsewhere now ignores an Err from edit.paste, with a comment saying why. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>