mirror of
https://github.com/tiennm99/rubik.git
synced 2026-05-14 02:58:33 +00:00
d19a9246d5
- animate-move: factored shared promise/Tween body into tweenPivot; animateMove builds the pivot from spec, snapAndAnimate accepts a caller-built pivot. 96 → 80 LOC, no behavior change. - pointer-gesture: merged abortGesture / finishGesture / dispose busy release into a single idempotent endGesture; ownedBusy already encoded the per-gesture semantics. 205 → 190 LOC. - App: dropped the redundant `solving` state; ControlsPanel derives it as `busy && !solveActive`. runSolveStep collapsed to a one-line delegate since the busy gate now lives in CubeView. - CubeView: extracted cubejs lazy-load + parse into computeSolvePlan and dropped the dead bracket-undo guard. 41 tests still green; build clean. No deps, features, or behavior changes. Refs: plans/reports/code-simplifier-260427-1848-rubik-pass.md