The field measured its face over both formatted ends of the range, in the
caption's proportional figures, so a value between them could still be wider
(4888 beside 5000) and change the chip's width. caption_range now names the
numeric range and decimal places of the caption; the field measures with
NumberCodec::widest of that range, and a face's thumbnail caption shows in
tabular figures, so the widest text is the widest number whatever its digits.
BrushPresetPicker writes its caption with the same codec.
Part of storytold/photocraft#15476, for storytold/photocraft#15859.
A chip whose caption follows a value (the Brush Preset chip's diameter) took the
width of its current caption, so the chip widened as the caption gained a digit.
During a size drag that moved what follows it on the bar, and the bar's kept
measure no longer matched, so the frame ran a second pass.
PresetPicker::caption_range names the captions at the two ends of what the caption
shows; the field measures with the wider, as a number field holds the widest value
of its range. BrushPresetPicker passes the captions of 1 and its largest diameter.
Part of storytold/photocraft#15476, for storytold/photocraft#15859.
The cover's egui area had no size on its first show, so egui made that
pass a hidden sizing pass: no scrim and no absorbed hits. The discard pass
every container layer used to ask on its first show hid this; without it
the opening frame published no cover, and a modal's drag strips over the
title bar came a frame late. The cover area is seeded at its screen rect
before its first pass, as container layers are.
- Step 15 routes a reveal to the scroll owner only from a component in its
parent's flow (`in_flow`): a container on a layer, full-window layer or
OS viewport passes neither its own focus reveal nor its body's reveal to
the scroll region of its opener or to what lies under it.
- The part of a revealed rect a scroll body passes on is computed from the
move it applied, after clamping.
- `Fixture::repaint_delay`, and trials: a crossed menu row waits for its
rest with one wake, and a menu opened below a scroll region's view leaves
the region's offset.
Gate derives MemoProps. ModalRules keys on its plain fields and its revision, which stands for the
pending closure the derive cannot take; design-lint allows that one hand-written impl.
Opening a submenu ran every settling region of the window for two frames,
in two passes each:
- Menu level changes (open or clear a submenu, step, activate or run a row)
ask `request_own_repaint`: no app data changed, so only the menu runs
again. A crossed row waits for the end of its rest with one wake instead
of a repaint every pass; the rest starts at the pointer's last move.
- A container layer is placed by the size its container measured in this
pass, so it reads and records no `layer_size` entry and asks no discard
pass on its first show.
- A reveal queues a scroll jump only when the clamped offset moves, and a
container on its own layer or window passes no reveal on to the scroll
region of its opener's body.
* craft-develop, craft-color-transform: deduplicate spline, add 1024-entry Lut1::compose_len, spaces, and warm-green WB test
* cct: check bradford identity and matrix tolerance in warm-green WB test
* style(color-transform): fix clippy needless_range_loop in cct test
* video: add TrackDecoderOptions, with_threads, and set_draft on TrackDecoder (#778)
* fix(video): allow unused opts when decoder features disabled
* video: fix unreachable pattern in TrackDecoder::set_draft and verify inner state on reset
* fix(video): allow irrefutable_let_patterns when single decoder feature enabled
* fix(video): remove nonexistent hevc/av1 Decoder::threads test getters
* style(video): allow clippy::cognitive_complexity in track options test
* craft-usd: extract neutral USDA/USDC scene, prim, and layer read/write (#778)
* chore: update Cargo.lock for craft-usd
* craft-usd: add integration tests for USDA/USDC scene read/write (#778)
* fix(usd): use asset-only external reference syntax in scene test
* test(usd): include Shader child prim for material surface target in neutral layer test
With Lowercase Extension on, saving over an existing PHOTO.PNG wrote
PHOTO.png: a second file beside the one the panel asked about on a file
system that tells letter case apart, or a silent rename on one that does
not. settled_save_path now lowercases only a name that does not exist yet.
Port of storytold/photocraft#9899, whose code moved here in
storytold/photocraft#15449.
* craft-dds: expose shared BC1-7, ETC1/EAC, and packed pixel decoders (#778)
* fix(dds): qualify super::anchor in bptc test
* craft-dds: add independent known-answer test vectors for BC6H, BC7, ETC1, and EAC
* fix(dds): remove unused partition/anchor imports in bptc test
* craft-mesh: add COLLADA (.dae) and Alembic (.abc) readers
* fix(mesh): use str::to_owned instead of into_owned in dae
* craft-mesh: make dae and abc opt-in features
* fix(mesh): remove unused Error import and use Entry API in abc
* ps: expose public PostScript token/lexer scanner (read::lex)
* ps(lex): only mark stream fresh on Ok token
* fix(ps): allow clippy::should_implement_trait on Lexer::next
* mesh, image-codecs: add clearcoat/sheen GLB, obj_with_mtl, and EXR chromaticities (#778)
* fix(mesh): import Image and TextureRef in obj tests
* fix(mesh): construct Mesh via struct literal in gltf test
A body whose container sets scroll_owner is clipped to its body region. The canvas
pads its body by the rulers' strips and shows the Rulers itself over its own rect,
handing them its space and snap. The guide a ruler drag places reaches the body
through ruler_guide, so Guides::pending is gone, and the rulers' output comes back
in CanvasOutput. The tool host's paint and smart lines no longer clip to the canvas
rect.
Part of photocraft#15863, photocraft#15476.
An edit through a given binding unsettled every settling child for its frame and
the next, so each move of a slider, scrub or other value drag ran every panel body
of the window. A child with a content version sees what the app does with the edit
as a new version, as it does for input elsewhere, so a given edit now follows the
input rule: only children without a content version run.
Part of storytold/photocraft#15476, for storytold/photocraft#15859.
A tip outline the tool host requests carries its region: the canvas's view on
the canvas's layer. The window takes the whole outline as its cursor image only
while it lies inside that region with no layer over it; otherwise the ring paints
on the canvas's layer clipped to the view, under panels, menus and dialogs, and
the window takes only its marks, as for a tip too large for an image.
photocraft#15863