feat(dial): snap to the closest altitude on drag release #31
Reference in New Issue
Block a user
Delete Branch "worktree-session-0037-altitude-snap-on-release"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When the operator drags the altitude dial (vs. tapping a label), releasing between altitudes now auto-scrubs the short way to the closest altitude and settles there — a grab-and-release always lands on a discrete altitude, just like a click. Previously
onDialUpheld the half-finished blend wherever the knob stopped.onDialUp: a real turn (moved >= 6) now callsautoScrub(Math.round(pos)); tap path unchanged; reduced motion handled byautoScrub.altitude-locke2e: a partial drag settles on an integer altitude after release (TDD red→green).Session 0037. Static-Cloudflare app (exempt from §9/PPE) — needs operator redeploy after merge.
🤖 Generated with Claude Code