Files
craft-libs/crates/ui-widgets
skylar taylor-barrickandlightcraft-port efc8d34f09 Inspect: a hit area's original bounds before minimum-size expansion (#3793)
* Inspector: a hit area's original bounds before minimum-size expansion

HitArea::bounds is the sensing shape's own rect, beside rect, which is grown to
the minimum hit size. A pointer-only part (a slider's thumb) has no access node
or Tab stop, so an app relating a value to its drawn position (a tooltip over the
thumb, a value that follows it) needs its real geometry rather than the larger
target. The trial checks the bounds match the painted knob and the value travel.

(cherry picked from commit 78cd3e98ad)

* Small additions review: a replay moves a hit area's bounds with its rect

(cherry picked from commit f9b1c60144)

* Formatting of the bounds change

* Test inspector hit bounds after a translated memo replay

---------

Co-authored-by: lightcraft-port <port@lightcraft.local>
2026-11-29 14:39:24 -06:00
..