Moves every craft-libs pin from 18ffc07519 to the current next head, two commits newer: storytold/craft-libs#2242
(a dialog that opens on a text field selects its text). craft-svg keeps its own rev.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Wire the Adjustment Brush into the craft UI framework (#15449). The
engine part (paint.adjustmentBrush and its tests) merged as it was.
- panels/tool_commands.rs: a toolSelect.adjustmentBrush ToolCommand
(alias tools.select.adjustmentBrush, icon adjustment_layer, no default
key) so the rail shows and selects it; its own slot between the Blur
and Dodge slots in TOOL_SECTIONS.
- canvas/strokes.rs: the release commits through
adjustment_brush::finish_stroke; canvas/tools/mod.rs: the press
preflight refuses only Indexed Color for it (hidden, locked, group and
type layers do not refuse it).
- tools/adjustment_brush.rs: the options bar on craft widgets
(Select with greyed entries and separators, Segmented Subtract / Add,
brush field, pressure toggles, inert Choose an object button, Overlay,
Opacity, Flow, airbrush); alerts through dialogs::alerts::alert.
- Tool::description and its toolbar tooltip line are dropped: the rail's
tooltip is the command label and chord only.
- adjustment_brush_cmds::offered_kind: elided lifetime (clippy).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The exhaustive test pressed every displayed shortcut and tool letter through the
whole app from four focus places, about 555 presses with frames each (461 s on
Windows CI in run 44349486353, 54 s locally).
Split it in two:
- every_displayed_shortcut_runs_its_menu_item fires the keymap's command for
each of the 120 displayed shortcuts and every tool letter straight into
run_fired (dry run), with no key events and no frames, and checks the same
outcomes: ran and the menu item is enabled, or disabled with a reason.
- every_kind_of_shortcut_dispatches_from_where_focus_usually_is presses one
shortcut per (route, kind of key, modifiers) from the four focus places with
the old assertions: 34 groups, plus one single-tool and one shared tool letter.
Both run in about 10 s locally.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main routes the anchor tools' right-click through the shared path
overlay: its context report reaches canvas_tool_menu::open, which now
heads the Add Anchor Point menu with the point's entry (point_menu),
selects a right-clicked anchor in capture, and labels the Fill, Stroke
and transform rows by the selected subpaths (add_anchor_row_label).
The tests right-click through the egui harness; the row labels are
read on a menu opened on a segment, since a right-click on empty
canvas under the anchor tools opens no menu on main.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main moved Artboards to Files onto the hosted parameter form. Export
Options is now a check box row below File Type, and each file type's
settings are rows of their own (keyed <type>.<param>), shown for the
chosen type while the box is ticked through a shell key the form's
builder keeps (a row takes one visible_when condition). The command
params take the chosen type's settings under their plain names only
while ticked. Being rows, they are remembered after a successful run
only, so the hand-written remember hook went with the old form. The
Custom quality row is gone from this form; the quality tests run on
Layer Comps to Files. The tests drive the new form.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
effect_entry only keeps an imported Inner Shadow Angle when the effect does not
follow the shared light: while it does follow it, the page's Angle field shows the
light's angle and not the effect's own, so an untouched OK keeps writing the light
angle as before. This pins the other value of that condition, the way the unedited
bevel-shading pin covers its own guard.
Guard test: green before and after the fix hunk on purpose. With only
crates/ui-egui/src/dialogs/layer_style.rs reverted to 9b2a5439e the filter run gave
3 passed and 1 failed, the failure being
unedited_inner_shadow_keeps_imported_out_of_range_values (stored 30000.0 where the
file carried 40000.0).