Commit Graph

3 Commits

Author SHA1 Message Date
evan eac4084f80 fix(ui): pad the toast card so its text clears the edges 2026-08-06 21:41:57 -04:00
evan 94d298dd45 feat(ui): add ui.toast, a message that slides up from the bottom edge
The card sits in a scroll container of its own height over an empty strip of
the same, so the slide is a setScroll() delta on the laid-out tree rather than
a rebuild a frame, and the container scissors the part not yet arrived.
2026-08-06 21:32:03 -04:00
evan 2046938d32 feat(ui): tree-owned scroll gestures and geometry hit-testing
Drag, flick and tap-vs-scroll now live on the scrollX/scrollY flag in
ui.lua, so any scroll box pans with no app code. tree.hit returns the
deepest node by geometry and dispatch bubbles to the nearest handler,
dropping the now-unused CAPTURE flag. keyboard moves in as ui.keyboard,
and embed compiles nested lib dirs to dotted module names.
2026-08-06 17:07:56 -04:00