Files
craft-libs/crates/ui-widgets/tests/it/runtime
dotCooCoo cb1b2301ad ui-widgets: InspectOverlay's Tab-order badges show whole inside the drawing
Each badge was centered on its stop's leading top corner with nothing
keeping it inside the drawing, so a stop at the region's edge got a
badge cut in half. In the inspect_overlay story at 400 x 300, badges 1
and 2 sat across the left edge and badge 1 across the top.

The badge, ring included, is now moved the least distance that puts it
inside the drawing, with keep_inside, the rule a layer's bounds use. On
an axis where it already fits it stays on the corner. keep_inside is
now public in craft-ui-contract's contract module.
2026-11-25 03:11:06 -08:00
..