photocraft-paint's BrushSettings::tip is a Tracked<TipShape>; tools.setBrush keeps its revision when the new brush's
tip equals the old one. The options bar's field takes the presets, the tip and a BrushFace (size, hardness, angle,
roundness) as props instead of the whole brush, so an Opacity or Flow write replays it. Trial:
brush_settle_trials.
The engine's ToolState.brush and ToolState.presets are Tracked, so a memoized view that shows them keys on their revisions; photocraft-paint's brush types derive PlainData.
Lens Blur's Depth Map Source names an alpha channel by its index in the
document the dialog opened on. With #15883 that index now reaches the
command, so when the control channel makes another document active under
the open dialog (`ui.window.open`), preview and OK would blur by the other
document's channel at the same index. The dialog now captures its document
at open, like Match Color captures its destination, and preview and the
held OK refuse a channel source on another document. Back on the first
document, OK applies it. A Smart Filter edit keeps its own target check.
Found by review on the integration batch.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
craft-layers keys tree ids by their Hash (craft-libs#2774), so photocraft-doc depends on craft-tracked and craft-ui-macros instead of craft's ui feature, and the layering check passes.
The dock keeps an Arc<Workspace> and a Tracked spec model, the toolbar rail
takes Tracked slots, the Layers panel holds its rows as plain data in a
Tracked, and the menu bar is a Tracked model keyed for the native menu's
sync. PhotoCraft states the Creative component set. Export As lists its
resample methods, and layer.exportAs describes them, in the engine's order.
Part of #15476
craft-libs next's hayro resolves degenerate subpaths before stroking
(ISO 32000-2 8.5.3.2: only round caps paint them), so for butt caps the
zero-length subpath no longer reaches the importer and the page stays
editable. The test now checks that: no warning, one shape with only the
visible line, its dashes kept. The guard in push_shape stays for paths
that still carry such a subpath.
next now has storytold/craft-libs#2550 (the default agent folder and the
agent_folders answer), #2612 (snap targets reach past their spans), #2631
(scroll bar arrows take no keyboard focus) and #2634 (Enter in the hex
field confirms).
- next vendors vello_common and vello_cpu for hayro; the patch section
follows it.
- craft_pdf::raster::Options gained max_coverage; the PDF importer keeps
craft-pdf's default (None).
- storytold/craft-libs#2363 gates a component's story-suite registration
on its crate's own `suite` feature and emits it ungated without one,
which needs craft's test kit in every build. ui-egui declares `suite`
(off): PhotoCraft runs no craft story suite.
With document_chrome the accessible scroll bar is the track, one step
arrow (the bar's thickness) below the view's top. The two chrome settle
trials measure replaying that the memoized title bar and dock groups only
do once PhotoCraft's state is tracked (#15709).
craft-libs next merged storytold/craft-libs#2533: memoized views replace
the settling regions. The app follows it:
- the shell slots, the dock chrome, the panels and the tool rail no
longer take content versions (the framework memoizes them), so the
region versions and their trial go, with the keys that only fed them;
- Tool is MemoProps, as the tool rail's props;
- the menu bar's English-name hook is a capture-free function, reading
the names the bar's model published;
- request_own_repaint is request_repaint;
- the drag trials count replayed memoized views.
Snap targets reach past their spans (reach_past_spans), as layer edges do
in the reference application; this needs storytold/craft-libs#2612.
- Home screen: the rail's navigation (Home selected, Learn), the
community links as its footer and the PhotoCraft title (home_layout).
- Document scroll bars: document_chrome (wider bars, arrows, corner).
- Save for Web: a typed width and height reach the export, replacing
the percent; the ignored-slices notice shows, translatable.
- Stroke's Width declares px; New Layer's Opacity shares the Mode row.
Each with a test that fails without the change.
* Use the document mutator in the damage-history fixture
* Compile the archive driver without framework-only lint dependencies
* Cover dormant Move selection and transform cases
* Check resized pixels when transform click commits
---------
Co-authored-by: FredApps <[email protected]>
* Use the document mutator in the damage-history fixture
* Compile the archive driver without framework-only lint dependencies
---------
Co-authored-by: FredApps <[email protected]>
Moves every craft-libs dependency to storytold/craft-libs next 62189858a
and egui to the fork rev that next pins (6525c879). This brings
craft-libs#2424 (Home screen rail and empty-state card) and the Home
screen spacing fix.
Call sites follow the new craft-libs API: Picked gained Failed and
Downloaded (a failed save keeps its message, a browser download counts
as nothing chosen, as the app writes its own saves), SettingsDocument's
apply is the PreferencesDraft trait method, and the control channel's
document map takes the page index (one page per document).
Same fix as craft-libs#2557 for the window side: with a flag or the
person's own folder covering every direction, the default was created
and never used.
Co-Authored-By: Claude Opus 5.5 <[email protected]>