mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-06 14:03:16 -05:00
With relative rounding, a move that bent a straightened corner converted its stored radius to a fraction of the bent corner's maximum. When the pixel-grid snap then straightened the corner again, the radius stayed in those units, so the move changed the radius and recorded an undo step although no anchor moved, and the corner rounded at the wrong size when bent later. The snap of a path with Live Corners now converts the radii of corners it straightens or bends, with the same rule as an anchor edit, and a move the snap takes back counts as no change when the radii differ only by rounding. The help of object.setLiveShape, path.moveAnchor and path.moveAnchors and docs/mcp.md now say that a straightened corner keeps its radius and the path stays live.