mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 19:41:36 -05:00
b3f5c22633
A live star whose ratio is below 0.01, which object.setLiveShape takes, lost its inner radius and its live shape when addon.shapes.configure changed another value: the stored ratio was clamped to 0.01 when the star was drawn and no longer counted as live. Any ratio from 0 to 1 now draws and stays live as it is. A corner list shorter than the star's or polygon's corners counted as one shared radius, so a new point or side count gave the missing corners the first corner's radius. The missing corners now stay sharp. A ratio that changes which corners a rounded star cuts is now an error with radius or kind in the same call, as points is, since the corners selected before it no longer name the same corners. The anchor selection is dropped by the same check.