mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 05:35:49 +00:00
path.eraseSegments checked only that `width` was a positive number, so a width such as 1e300 erased every selected path and a width such as 1e-300 sampled the path too coarsely to find the band. It now refuses a width outside 0.001 to 1000 pt with "`width` must be from 0.001 to 1000" before reading the document; nothing changes and no undo step is recorded. Left out or null, the width is still 8 pt. The range is VectorCraft's own: it holds every width the Path Eraser tool sends across the view zoom and UI Scaling limits, and its top matches the Eraser's largest Size.