The first module of the shared develop pipeline (#587): lightcraft-inpaint at
a75497d6, as craft_develop::inpaint. PatchMatch patch completion and the
membrane fill it seeds from, with their tests. Only the paths in two doc
links and two imports changed.
A parity test compares both fills of one scene with what LightCraft's crate
gave at that commit, through craft-render-parity at Tolerance::BASELINE.
- docs.yml and theme.yml use the locked action versions, with entries in actions.lock.
- rustfmt on ui-contract's style/mod.rs.
- hovers' doc no longer links the private Under.
- clippy: needless struct update in TextRun::job, a type alias and sort_by_key in winners_of,
needless derefs in arena_clip, an unneeded mut in FooterBar.
The input hook releases a held press when an undecorated window's inner
size changes under it (the OS resized it and keeps the release). It
compared the sizes exactly. A window the app moves reports its size again
in points from its pixels, and at a fractional scale the same size comes
back a float step off (290.4 as 290.40002 at 125 %), so the hook released
the press a few points into every move of a floating panel on Windows.
A size now counts as changed only by more than 0.05 pt, far under one
physical pixel at any scale and far over that rounding.
Part of storytold/photocraft#15478.
Where the app moves an OS window itself (a floating panel on Windows), each
pass placed the window from the pass's pointer event, relative to where the
window reports itself. The event can be an older sample than the window's
current place, since the window moves between passes, so the window landed
behind the pointer every pass and the release left it there: on Windows a
400 px drag moved a floating panel about 260 px, and at times only the
click distance.
Where the platform tells the system pointer, the move now places the
window from it (pointer - grab - inset), at the drag's start, on each pass
and once more at the release. Platforms without a system pointer keep the
event-based place. The new `windows::system_pointer` never falls back to
the drag's own noted pointer, which `desktop_pointer` does, so the move
cannot feed its own place back.
Part of storytold/photocraft#15478.
The grip was the layer's inline header: top-aligned in a rect as tall as
itself, on the layer's floating fill, while the members' Bar painted its
own square chrome surface beside it. The bar read as two shapes with the
grip off the line.
The grip is now the Bar's first member, so the row centres it inside the
bar's padding, and the Bar paints the one Floating surface (new
`Bar::surface`); the layer paints none. The layer keeps its empty inline
header for the move band, which still spans the whole line, so the grip
and every free point drag the bar.
Part of storytold/photocraft#15479.
The value readout painter moves into the ghost module (ghost::readout), which reads
the region's tokens from its EnvView, so EnvView::to_env stays crate-private for the
drag session. A layer container's room takes its screen inset from its own tokens,
as the host places it, and a collection's empty text measures in the collection's
tokens. DIAG prints for the NumberField label activation failure (to remove).
* har: preserve source reader history
Port Craft Anything crates/formats/src/har.rs from f64ae3bf3c8863a982af1304e06de20653803968.
* har: preserve source reader history
Port Craft Anything crates/formats/src/har.rs from cb0bb9d8fa4536ba44ef2c86f5ed759b879cc2d3.
* Expose shared HAR reader with explicit input admission
---------
Co-authored-by: Brandon Thomas <echelon@gmail.com>
Co-authored-by: BFlat <bombayapirat@gmail.com>
A container's ThemeScope applies at its own env (step 1), so its surface, header,
rules, scroll bars, pads and focus ring resolve in the scope as well as its
regions, body and the layers opened from it; collections honour it too. The
root token cache keeps every entry read in the current frame, drops the least
recently read beyond eight, and moves a value hit onto the caller's Arc so the
next frames hit by pointer. The drag preview paints in the env of the region
the drag started in, a drop mark in its target region's tokens, and canvas
readouts in the asking region's env.