Make set the wrap option on every selected object, the area type
included, and the wrap resolver never wraps an object that has the
option, so selecting the object and the type together and choosing Make
left the type as it was.
- Make leaves a selected type object with another selected object above
it in its layer out of the wrap objects, and takes the option off it
if an earlier Make set it there. Text Wrap Options leaves it out too.
- Make warns in the status bar when no area type lies below any of its
wrap objects (the object is below the type, or the type is point
type).
- Make and Options record no undo step when nothing changes.
Docs: docs/mcp.md, the text_wrap tool description and the command
params text.
With assets in the panel and many format rows, the Export Settings
section grew past the top of the panel, so its heading and the first
format rows could not be reached. The settings now sit in a scrolling
stack that takes at most half the panel's height, as the CSS
Properties panel does, and the preset name row, Export and the footer
bar stay below it.
Leaving the Shape Builder saved every one of its options, so preferences
from earlier versions hold pickColorFrom "artwork" whether or not it was
picked, and kept the old default after Color Swatches became the default.
The preferences now carry toolSettingsVersion, written as 1 once a tool
setting is stored. Applying preferences without it changes a saved
Shape Builder pickColorFrom "artwork" to "swatches" and writes the
version, so Artwork picked after that is kept at the next launch. A
saved "swatches" and preferences without a saved pickColorFrom are
unchanged.
Docs: docs/mcp.md and the tool options params text.
While the Shape Builder is active, a fill picked from a swatch or a color
changes only the current fill, and the selected art keeps its own. With
Pick Color From set to Artwork, a merge takes the look of the art, so the
picked color never reached the merged shape and the tool looked as if it
could not fill.
Pick Color From now defaults to Color Swatches: a merge fills with the
picked color, and the Left and Right arrow keys step through the color
swatches. A pickColorFrom saved with the preferences is kept, so a saved
Artwork stays Artwork; preferences saved without one take Color Swatches.
The shapeBuilder.merge command still defaults to artwork when its
pickColorFrom is left out.
Docs: docs/mcp.md and the tool options params text.
Merging main made DIALOGS one entry short: Offset Objects and Match Objects
both joined it, so vectorcraft-ui-egui did not compile. The table now
declares seven entries.
A stacking match moved a clipping path out of its clip position and could
move a member out of an Intertwine group with its old overlap tiers. It now
refuses to move a clipping path, refuses a destination that would nest
Intertwine art, and clears the tiers of members that leave their group.
A stacking or rotate-only match no longer needs bounds on the source. A
size match measures each target after it is sized and turned, in its final
frame, and is refused when a target can't take the requested size, instead
of reporting success with the size unchanged. A target with no bounds that
needs to turn is refused.
Follow-up to #9288.
- Removing the last anchor of a closed path with its closing segment
selected also deselects the first anchor, the segment's other end.
- Removing a point puts back new art's paint, so a default stroke width
a script set still applies to the next path it draws.
- A removal that leaves the direct selection as it was waits with the
other point changes, unless every remaining anchor is now selected,
the selection refers to points that are gone, or the path is in an
Objects on Path group.
- Reading the points of a path first writes the waiting point changes
of another path in the same Objects on Path group.
- Writing a path in an Objects on Path group checks the other tracked
paths in the outermost such group, so their PathPoint handles go stale
when the group moves them, even after an undo.
Docs: docs/mcp.md, docs/target-app-parity.md.
brush.apply clears the brush settings of each path's top stroke, and
clearing them is one undo step. The command text and docs/mcp.md now
limit the no-op to a current brush whose top strokes already have it,
paint, a width above 0 and no settings of their own. A new test applies
the current brush to a stroke with its own settings and checks that they
are cleared as one undo step.
Cause of the CI failures on 212090fd7a:
- main's dialogs::new_document test a_presets_rows_reach_the_document_create_makes
sets artboardLayout.rows to 3.6 and expects 4, but this branch refused a
rows value that was not a whole number. rows now rounds like columns and is
still refused outside 1 to 1000.
- script_host_vs_scriptcheck listed Document.prototype.pathItems=, the
setter of main's placeholder. This branch makes pathItems a read-only
collection, like pageItems, so the row goes.
Object › Plug-ins › Arrange Tools › Offset Objects… (addon.arrange.offset)
puts the selected objects one after another in a row (left to right) or
a column (top to bottom), each a gap past the one before it; a negative
gap overlaps them. The order is the stacking order from the back or the
position (left or top edges), and Reverse Order runs it the other way.
The first object stays where it is, and the others move only along the
row or column, keeping their place across it. Objects are measured by
their visual bounds, a clipping group by its mask. One undo step, none
when nothing moves; bad params are refused.
The dialog has Direction, Gap, Order and Reverse Order with Preview.
Docs: docs/mcp.md, docs/ui-parity.md, docs/target-app-parity.md, ROADMAP.
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.
symbol.options recorded an undo step and moved the revision whenever any
option was passed, unless only alignToPixelGrid was given with the value
the symbol already had. A newName equal to the current name, or a
registration, export type, 9-slice, type or pixel grid value the symbol
already has, now leaves the document and its undo history as they are.
symbol.replace with the symbol the instances already show recorded an
undo step too. It now records one only when an instance changes.
Both run through colorcmds::edit_if_changed, as the Symbol Shifter and
the other symbolism tools do.
brush.options with params and a newName that leave the brush as it is
stored the library again, raised the document revision and added an
Undo step; only the Brush Options dialog skipped an unchanged OK.
save_library now returns without an edit when the library it is given
equals the document's and nothing is renamed, as brush.move already
does. brush.apply of the brush the strokes and the current brush
already have runs through edit_if_changed and records nothing.
With an object of a dynamic symbol instance selected by Direct Selection,
transparency.set without ids changes that object's opacity and blend mode
for the instance, and the Transparency panel shows those values. The
transparency.info command still reported the instance's own opacity and
blend mode. Without ids or id it now returns the panel's values
(Session::transparency_info), so it reports the part's opacity and blend
mode with the instance's isolate and knockout. With ids or id it still
reports those objects.
The Libraries panel accepted a swatch row dragged before File › Revert and added the restored swatch of that name. Membership::grabbed now refuses stale rows, for the hover marker and on release.
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.
#9931 refused an appearance carried across File › Revert. Graphic styles,
brushes, symbols, swatch rows and appearance stack rows had the same fault:
a held drag still resolved a name or id against the restored contents.
- Graphic style, brush, symbol and swatch drags carry the document's revert
count, and the canvas, the panels, the Fill/Stroke wells and the Gradient
slider refuse a drag from before the revert.
- The Brushes panel shows no reorder marker for a stale brush drag.
- docs/mcp.md says which drops File › Revert cancels.
Follows #9931 by @dotCooCoo.
app.redraw() changes nothing, so docs/mcp.md now describes it on its own. The undo step a run
leaves is stated for documents that were open before the run and are still open after it.
main's own indexer tests already check the receiver's and the key's limits.