mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
With Relative chosen, OK in Corners turned the percentage into a length from the first picked corner's maximum and sent that one length for every picked corner. object.setLiveShape then stored it as a fraction of each corner's own maximum, so corners with a different maximum (a star's points and its inner corners) were rounded more or less than the percentage shown. OK now works out the length for each corner from its own maximum. Corners that get the same length share one object.setLiveShape; when they differ, the calls run as one command.batch, a single undo step. The ui.corners params text and docs/mcp.md name the relativeRadii field and the percentage.