- api/non-exhaustive: #[non_exhaustive] on public enums, variants and structs, with constructors for what
callers built by struct expression (KeytipControl, GroupWidths, RibbonMenuRequest, EdgeLook::sample,
BalloonItem, CropScope::object, PageBandRoom, WheelSpeed, AltCodePages, GalleryFace, GradientTile).
GalleryItem, RibbonOutput, LineBreakOptions, AsianTypography and GapEdge join the closed list.
- props/hand-setter: setters that only store become #[prop] fields. Keytips drops its own enabled field
for Common enabled, and its show becomes show_over.
- contract/no-global-state: constant tables are const, not static.
- contract/egui-import, memory, allocate: LayerId, TreeUpdate, Id::unique, the text scroll memory and
allocate_space go through runtime::egui.
- contract/overlay-flag: CanvasScrollbars declares overlay; its drag story covers Open.
- Markers and exception entries only where the code is the exception (stories, trials, unit-square
coordinates, the balloons id scope).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The painted pointer art and painted_image move from runtime::cursor to primitives::pointer_art, which
draws them; EditorSurrounding moves to runtime::ime, which reads it; StyleCx::face moves to
contract::items beside measure_under. EditorSurrounding gets text() and unavailable() constructors now
its variants are non_exhaustive. painted_image is reached as craft_ui::primitives::painted_image.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A face measured by MeasureCx::face is part of its composite's measure
call: that call's answer and the inputs the faces read are the record
the layout memory keeps and checks. The face recorded a leaf of its own
under one id shared by every face of the composite, so only the first
face was kept, and a change to it that left the composite's size alone
dropped the kept measurements and asked for a discard pass.
measure_face measures a face as measure_under does, without the leaf.
TextRun::least (MeasureCx::least) returns the run laid out whole with its
least width, so a text measured at Proposal::Min no longer lays the whole
line out a second time for its height. A fitted select face takes its cap
from the same call. A select of 29 blend modes plus the mixed word lays out
56 texts per Min ask instead of 86.
The windows kit listed every child that ever ran a pass in each later
input, so a closed window stayed live with what its last pass left. Since
c8fe2cf86 a modal cover records itself from its first pass, so a window
closed right after its first modal pass (a Save prompt answered at once)
kept blocking the root's close in later frames. An integration drops a
viewport egui no longer outputs; the kit now does too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream 650694d5a removed Canvas::show_rulers and clips a canvas body to its view. PageView::rulers(on) now shows the canvas inside the ruler strips (Rulers::strips), so the view is inset as before, and runs the app body with the clip opened over the strips, where PageRulers show at PageBody::rect.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cx::modifiers read the pass's modifiers without a record, so a settled region
whose component painted by them (a menu bar underlining its mnemonics while Alt is
held) replayed its last paint until something else ran it. The read is now noted
under BindKey::Modifiers, and the pointer's begin hook notes an edit of that key
when the pass's modifiers, latched ones included, differ from the last pass's: the
regions that read them run in that frame, as for any edited value.
Part of storytold/photocraft#15476.