The gate's turn_direction test failed because the `rotate` param of
addon.arrange.match did not say which way it turns. Its description now
says each target turns clockwise or counter-clockwise to the source's
angle.
Match, Set Size of Each, Swap, Replace and Sort now record the resolved
`scaleStrokes` value in their journal entry, so a replay scales strokes
the same way after the preference changes.
Object › Plug-ins › Arrange Tools › Match Objects… (addon.arrange.match)
makes the other selected objects match one source object: the key
object, or the top or the bottom selected object. Each can take the
source's width (height in proportion), height (width in proportion) or
both, its bounding-box angle, and its stacking place directly above it
in its layer or group, about a reference point, as one undo step. No
step is recorded when nothing changes, and invalid params are refused.
The dialog previews on the canvas; OK stays off while nothing is chosen
or the source is a missing key object.
Docs: docs/mcp.md, docs/target-app-parity.md, docs/ui-parity.md, ROADMAP.
A sliver at 0% opacity, or inside a group or layer at 0% opacity, paints
nothing, so Clean Up and Select > Object > Hairline Slivers now skip it.
The params text and docs/mcp.md say so, and docs/mcp.md also names what a
group or compound path used as a clipping path holds among the objects
both commands leave.
With one object selected, the canvas highlights the objects Start Global
Edit would take. After every edit the engine reduced each candidate in
the document to its form again, measured its bounds twice, and made the
outline of each highlighted object again.
The forms, bounds and outlines are now kept by node between calls. An
edit replaces each node it changes, so after an edit only the replaced
nodes are measured again. Bounds of objects that hold symbol instances
are not kept. The outline pass finds each object, its selected ancestors
and its layer color in one walk down its index path.
The new test counts the forms and outlines made: 40 and 39 for the first
preview of 40 squares, then 1 and 0 after the selected square moves.
script.run's params text now says what app.undo() and app.redo() do. The artboardLayout messages,
their test and their catalog rows go back to main's text; they belong to file.new rather than to
script history.
With Use Preview Bounds on, dragging a bounding-box handle with the
Selection tool, a shape tool or Free Transform lined up the outside of
the selection's stroke with the other art's geometric bounds, which
Smart Guides use for the targets. A stroked object then stopped half a
stroke short of the edge it showed a guide for, the same mismatch moves
had before.
- The handle still drags the visual box, and the edges of the
selection's geometric bounds line up with the targets and with even
spacing. The margins between the two boxes keep their size unless
Scale Strokes & Effects is on, when they scale with the box. Snap to
Grid and Snap to Pixel still use the bounds the box shows, and the
Slice Selection tool is unchanged.
- Tool contexts carry the Scale Strokes & Effects preference.
- New tests drag the right-middle handle of a rectangle with a 20 pt
stroke toward another rectangle with the Selection tool and with Free
Transform.
Part of #6436