A command run during a Direct Selection drag of anchors or segments, such as
Add Anchor Point or Reverse Path Direction, can number the path's anchors
anew. The drag kept its old anchor numbers and then moved a different point.
When the command changes a path that holds the drag's selected anchors or
segments in more than a move of the whole path, the drag now ends without a
step of its own, and the command's edit stays. A command that only moves the
path leaves the drag going on the same anchor.
A `shifted` map with more than 256 entries is one the engine refuses, so
the shift edit no longer drops its self-shifts and deleted colors. A shift
that would leave more than 256 colors shifted, including a new target for
a color that is already shifted, is refused with the limit error.
- Add Unit::format_area(self, pt2: f64) -> String to format area in document units.
- Add pathArea (pt²) to document.info output and insert Path Area row in Objects section.
- Calculate compound path net enclosed area using fill rules (Non-Zero / Even-Odd), subtracting holes.
- Exclude guides and open paths, and avoid double-counting on nested compound paths.
- Update progress evidence and entries in docs/gaps.md and docs/target-app-parity.md (identifying Path Area as a VectorCraft addition beyond reference panel).
The dialog opens with the focus on its default button, so Enter clicks it
until the person moves into a field; an Enter a slider or check box leaves
untaken also clicks it, but not while a question is open over the dialog.
A list box shows as many rows as its height holds and scrolls the rest.
The four Bleed fields used the linked fields' default one-row layout, which is wider than
the Preset Details column. In a 1280 by 900 window the Right field ended 169 px past the
dialog's right edge. They now use LinkedLayout::Columns, as Document Setup's Bleed fields
do (dialogs/document_setup.rs:310): Top and Bottom, then Left and Right, with the link
between the columns.
Insert Aki Left and Right, Tsume and the Adjust Horizontal and Vertical
Diacritic Position rows of Advanced Character Formats were plain text
rows, without the presets menu the Character panel's fields have. Each
is now a number field with that panel's presets (the craft-text
AKI_PRESETS, TSUME_PRESETS and DIACRITIC_PRESETS), kept within the
style's limits. The field still holds its text, so unset, automation
and the limits applied at OK are unchanged.
The Window menu rows run window.panel {panel, toggle: true} again, as on
main, so a menu row elsewhere that runs window.panel {panel} (the
Contextual Task Bar's More Options > Show Properties Panel) no longer
takes a Window row's toggle. Each panel row now sets its shortcut to the
chord of the panel's shortcut entry (panel:<id>, the lookup ui.menu.list
uses), as the Settings rows set Preferences' chord. The menus are built
again when the window's keymap changes, so the first frame's menus,
built before the keymap, do not stay without chords.
canvas/task_bar.rs, menus/entries.rs and the click lookup in
shortcuts.rs are back to main, and window.panel has no toggle: false
case.
The two Direct Selection preference tests in
crates/ui-egui/src/tests/removeanchors.rs now use
crate::testing::ui_context() and app.canvas_view() to place the click,
as the other canvas tests on main do.
More Options > Show Properties Panel fired window.panel {panel:
"properties"}, which now matched the Window > Properties row and took its
toggle, so a click hid a showing Properties panel. The row names
toggle: false, which never matches a Window row, and window.panel with
toggle: false leaves a panel that can be seen as it is, also in a flyout
or a floating window. The params text and docs/mcp.md describe it.
The Window menu click test uses Libraries, a docked panel with no
function key, so it fails when a click does not take the row's toggle.
The Import PDF dialog now lives in the craft dialog host, so
an_empty_password_still_asks_for_the_password closes each dialog with
cancel_by_id and checks it with the file's dialog_id helper instead of
app.ui.dialog.