Merge pull request #4070 from marcoarnulfo/fix/direct-select-type-on-path

Direct Selection: an anchor of type on a path's path drags and the type reflows along it
This commit is contained in:
Brandon Thomas
2026-10-25 10:56:10 -04:00
committed by GitHub
7 changed files with 158 additions and 22 deletions
+3
View File
@@ -4131,6 +4131,9 @@ text at its size, through its thread too. `text.reshapeArea {id, anchors: [[subp
frame anchors with their handles (Direct Selection dragging a corner, or an edge's two ends), and
`text.areaOptions {width?, height?}` sizes the area from its top-left corner (the query returns both). Each is one
undo step. Object › Transform › Scale, the Scale tool and the Transform panel still scale the type.
`text.reshapePath {id, anchors: [[subpath, anchor]…], dx, dy}` does the same for the path of type on a path
(Direct Selection dragging one of its anchors): the start and end brackets keep their fractions of the path and the
text reflows along it.
```json
{"name":"run_command","arguments":{"command":"text.reshapeArea","params":{"id":42,"anchors":[[0,2]],"dx":40,"dy":60}}}
File diff suppressed because one or more lines are too long