With an add-on dialog previewing (Arrange in Grid, for example),
File > Place ran inside the preview's interaction, because every
`file.*` command other than `file.documentColorMode` was treated as one
that reads the drawing on show. The placed art went into the preview
document with no undo step of its own, and Cancel removed it.
`file.place` now runs on the document without the preview, as other
edits do: it records its own undo step and stays after Cancel and OK.
Save, Export, Copy and the other `file.*` commands still act on the
drawing as the preview shows it.
Docs: docs/mcp.md (undo/redo row).
The Layers panel footer showed Create New Layer as `file-plus` and
Create New Sublayer as a plain `+`. Clicking the `+` to add a layer
made a sublayer inside the current layer, which the panel shows as a
row with a disclosure triangle under it.
Create New Layer now shows `dc-new-item`, the icon New Swatch, New
Brush, New Symbol and the other panels' new-item buttons show, and
Create New Sublayer shows a new `dc-new-sublayer` icon: a layer row with
a new-item square nested under it. The commands the buttons run are
unchanged.
The icon change follows Milo-IZ's #10651.
Takes main's craft-libs rev 4f3e34d0dd. Character Style Options and Paragraph Style Options canvas support and their two tests move to #10953, which waits on storytold/craft-libs#5510.
CI's test-lint step rejected the 500 % case of
the_frame_limit_grows_with_the_monitor_dpi, which compared the clamped
rect with a tuple of numbers. The test now checks that only the bottom
edge moves and that it hangs below the work area by the same border the
top edge hangs above the monitor.
The gate's test-lint step flags an all() assertion with no length check in dashes_start_at_each_lines_base_point. The test now asserts the row at y 50 holds more than the four pieces it compares.
Remove Anchor Points mapped each subpath's next anchor to the path as
drawn with `LiveCorners::drawn_anchor`, which counted the anchors of
every earlier subpath again for each one. `LiveCorners::drawn_anchors`
maps the whole set while walking the subpaths once.
The docs now say that Remove Anchor Points selects the next anchor of
the uncut outline, which can be an anchor added on a side as well as a
corner.
The detailed missing-items row for File formats still said DWG was
missing with DXF as the substitute. It now lists the DWG limits that
remain: the web build and FreeBSD for aarch64, R1.x and R2.x drawings,
and DWG export before version 2000.
Adding an anchor on a side of a path with rounded Live Corners moved
each selected anchor to every anchor of its corner. The ends of a
selected segment are selected anchors, so a selected side also selected
the far ends of the arcs at its two corners, and an arrow-key nudge
then moved those anchors too. The ends of selected segments now follow
the segments instead: after the addition, only the ends of the
segments as drawn are selected. Anchors selected on their own still
select their whole corner.
A plain path no longer builds its corner layout for Add Anchor Point,
Delete Anchor Point or Remove Anchor Points before falling back to the
plain edit, and Add Anchor Point builds it once for the cut check and
the selection. The selected segments are matched to the new layout
through one lookup per subpath instead of a scan for each segment.
docs/mcp.md and the Live Corners entry in docs/target-app-parity.md
now say that removing anchors clears the path's selected anchors and
segments, and that Remove Anchor Points selects the anchor before the
removed one at an open path's end.