Commit Graph

3 Commits

Author SHA1 Message Date
Axel Meyer
15edf657ee refactor(selection): remove prev_click_down, use input.was_action_released (P.3.10)
Behavior identical. lib-core.input dep bump 0.3.0 → 0.4.0.
Resolves audit I1 (RTS-Tech-Demo-Audit 2026-05-14).
2026-05-15 21:40:03 +02:00
Axel Meyer
bd43f2659d fix(selection): sync prev_click_down before early returns
Previously, set_enabled(false) caused prev_click_down to drift, so a
click that spanned a disable/enable window would be silently dropped.
Move release-edge sync above early returns; handle click_action==nil
guard inline so is_action_down isn't called with nil.
2026-05-14 15:06:46 +02:00
Axel Meyer
c50714de51 feat(P.3.6): lib-core.selection v0.1.0 — initial release
Handle-Registry + Click/Drag-Box State-Machine + Selection-Set-API +
alpha-tinted render-helpers. Release-edge detection internal via
prev_click_down (no was_action_released in lib-core.input).

See: meta/docs/superpowers/specs/2026-05-14-p3-6-lib-selection-design.md
2026-05-14 15:01:52 +02:00