mirror of
https://github.com/tiennm99/time-mocker.git
synced 2026-06-06 14:12:50 +00:00
530f8630dc
Close two LOCKED spec deviations from design-decisions.md flagged by
code-review of 18020e2:
- Q5: Enter key inside the popup now triggers Apply (apply_fake_time +
close), Esc cancels without committing. Both checks use consume_key
AFTER the inner widgets have rendered so a focused DragValue keeps
its own commit-on-Enter / cancel-on-Esc semantics.
- "Hit-area sizing" decision: day-grid buttons bumped from 28x22 px
(slightly cramped) to 32x32 px (spec minimum). Popup still fits in
the 260..=320 px min/max width band.
No public API change. apply_fake_time, picked_naive_dt, and the
DST/overflow status_msg flow are untouched.