Merge pull request #6559 from dotCooCoo/fix/dimension-expand-keeps-live

Dimension tool: a dimension selected with its art stays live through Expand and Outline Stroke
This commit is contained in:
BFlat
2026-11-11 17:16:39 +07:00
committed by GitHub
10 changed files with 510 additions and 84 deletions
+4 -1
View File
@@ -3652,7 +3652,10 @@ holds symbol instances that `object` expands, whether only their art holds it, w
`object` on), and `object.mesh.create` on a gradient-filled object colours the
mesh points as the gradient paints them, with the colors Object › Expand gives them.
`object.expand`, `effect.expandAppearance`, `type.createOutlines` and `object.path.outlineStroke` turn a dimension whose
art they change into a plain group of that art, in the same undo step (see [dimensions.md](dimensions.md)).
art they change into a plain group of that art, in the same undo step. `object.expand`, `effect.expandAppearance` and
`object.path.outlineStroke` leave a dimension selected with art it measures, directly or in groups without fills,
strokes or effects of their own, as it is and change only the other art; if the new art no longer fits the dimension's
link, the dimension stays where it was, no longer linked (see [dimensions.md](dimensions.md)).
`object.expand` rejects a param of the wrong type, such as `"fill": "yes"`, `"gradient": 3` or `"steps": "16"`, and
changes nothing. Omitting a param or giving null keeps its default.