The host painted a tool's readout or hud only in a pass where the tool
asked for it, and a tool asks from press or drag, which run only in a
pass with a pointer move. Every other pass of the drag (the ants and the
live outline repaint all the time) painted no box, so the marquee's W/H
box blinked. The host now keeps the box the gesture's last press or drag
asked for and shows it again in passes with neither; a drag that asks
for nothing drops it, and it ends with the gesture.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The flyout marked each row with radio_mark(tool.id == shown), and an
unchosen radio row paints an empty ring, so every other tool had a
circle before it. Rows now take check(tool.id == shown): a check before
the shown tool and nothing before the others, as the reference
application's tool flyouts show (photocraft#17102). The mark column
stays reserved, so icons and labels keep their alignment.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A dialog moved only by its title line inside the frame's padding: the
16 px above the title and beside it did nothing. A layer's band now runs
from the frame's top and side edges down to where the body starts, as a
title bar does (photocraft#17112). An OS window's band stays in its
header, clear of the edges the platform hit-tests for resizing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In Artcraft dark, Pro dark and Solarized dark (standard and high contrast), line.border is surface.background, so the quiet field had no edge at rest on a fill of the same colour. At high contrast the field's boundary should show. The test fails without the guard.
runtime::motion::now returns a web_time Instant, which is not std's on wasm,
so the menu macOS and WASM lint job failed to compile mac.rs. The AppKit
rebuild retry is a native timer outside any pass, so it keeps Instant::now
with a contract/motion marker and its entry in
design/exceptions/craft-menu/crate.toml.
The mode sync from #3259 wrote egui's default curve for the resolved mode into both theme styles every pass, so an app's own curve (WordCraft's dark Gamma(0.8)) was lost. Each style's curve is now remembered as the app's own whenever it differs from the one the sync last wrote, and the resolved mode's own curve is written into both styles.
(cherry picked from commit 0f7450e578)
Co-authored-by: acebear17 <121527825+acebear17@users.noreply.github.com>
craft-design-lint's workspace test fails on next with four findings in code
that landed before the lint became a hard test:
- draw (#3534): the Bezier overlay's read counter is a thread_local in a module
gated cfg(all(test, feature)); the global-state rule skips cfg(test) modules
only, so the gate is split into #[cfg(test)] and #[cfg(feature)], which
compiles the same code.
- menu (#3541): the macOS menu rebuild retry reads the runtime's clock
(runtime::motion::now) and asks for its frame through
runtime::frame::request_repaint_after instead of Instant::now and
Context::request_repaint_after.
- ui-panels (#3431): Prompt::layer_role was a hand-written setter; the field is
now #[prop(vis = "pub(super)")].
A collection already refuses a press, a sweep and the Space key on a
toggle cell whose source says it does not flip
(`ItemSource::toggle_enabled` false, or a section row), and reports its
node disabled. The row still painted that cell with the normal toggle
ink, brightened it under the pointer and showed the off glyph on hover,
so a locked cell looked clickable.
- `ItemFacts` carries `closed_toggles`, the toggle columns whose cell in
the item does not flip, filled from `toggle_open`.
- `ListRow` reads them with the other facts and declares such a cell's
part inactive, so its glyph or check box paints in the Disabled state
at rest, under the pointer and under a press.
- An off cell there shows no off glyph under the pointer.