- The comparison's thread asks for a frame once it answers, so a save
started from the menu finishes without waiting for the next input.
- A comparison that answers while a dialog previews a change in the
save's own document, or a drag in it is not yet committed, waits for
the preview to end, so the file never holds a change that Cancel
takes back. Typing in progress is saved as by any Save.
- A save with an explicit path that ends while a comparison is pending
drops the comparison and frees the flow, so no changed-on-disk
question opens with no save left to apply its answer.
A save whose file comparison answered made its document active even while
a drag went on in the active document, and the switch canceled the drag.
The save now waits until the drag ends (no interaction and no held press
in the active document), as it already waited for another document's
dialog or file picker.
A save that waited for a dialog went on only at the next input after the
dialog closed, because the dialogs close in the UI pass, after the save
pump has run. The pass that closes the dialog, or ends the drag, now asks
for one more frame, and no frames are asked for while the save waits.
The clip-outline check behind `pathItems.removeAll()` measured each
subpath by its signed area. The loops of a figure eight turn opposite
ways and cancel, so the check treated the outline as enclosing nothing,
although both fill rules fill it. A subpath whose signed area is within
roundoff of zero is now measured by the area it fills under nonzero.
A subpath whose points all lie on one line still encloses nothing.
A save waiting for its file comparison now goes on only when no dialog or
file picker of another document is open, so writing it does not activate
its document under that dialog. While it waits, no frames are requested.
A comparison for a file the document no longer uses is dropped and its
save canceled, without asking about the old file, and the next Save starts.
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.
Since #10882 a canceled undo group, and a canceled undo scope that put
back an earlier snapshot, advance history_restores, which every edit
target that reads rollbacks also hashes. They no longer advance
rollbacks as well, and the two engine tests for that are removed;
history_mem.rs covers the count.
The Corner Radius tests now cancel an interaction whose preview drew
the shape, which only rollbacks counts, so they still fail without
rollbacks in corner_target.
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.