mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-27 16:59:43 +01:00
The Control bar and the Properties panel show a Corners link beside the radius field of the picked corners. It opens a pop-up with the corner kind, the radius (blank while the picked corners differ) and Relative or Absolute rounding. Each change sets the picked corners of every selected path in one object.setLiveShape call with items, one undo step: the corners holding a Direct-Selected anchor, or every corner of a path selected whole. The Properties panel shows the link while a corner is Direct-Selected; its corner rows now cover several selected paths too, and a live rectangle or polygon selected alone, which keeps its own radius and kind rows, shows the link for the pop-up. object.setLiveShape with relativeRadii: true now works on a plain path with corners: the path keeps its outline as the base of its Live Corners. Before, it did nothing, and relativeRadii: false added an empty undo step. A Relative path whose corners are all uncut again keeps its rounding, and Absolute on one with no corner cut makes it a plain path again. With Relative rounding, a radius is now compared as the fraction it would store, so typing the radius the field shows, or a radius past the corner's maximum again, adds no undo step. Before, it was compared with the radius as drawn. Part of #1232. Reported by XTRECY-BD.