mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 02:44:24 +01:00
path.smoothRegion read a radius below 0 as 0 and moved a fidelity into its range, and path.joinScrub read a tolerance below 0 as 0. Each now refuses a value outside its range with an error naming the key, and the document, the selection and the undo history do not change: radius and tolerance 0.001 to 1000 pt (the Path Eraser's width range), fidelity 0.000078125 to about 3195 pt (the Smooth tool's 0.05 to 100 px at the highest and the lowest zoom). A key left out or null keeps its default. The Smooth, Join and Path Eraser tools, and an Alt smoothing drag with the Pencil, Paintbrush or Blob Brush, keep what they send within these ranges at any zoom, also when the interface zoom puts the tool's zoom past the view's range. Docs: params text, docs/mcp.md, docs/target-app-parity.md.