Files
rubik/tests
tiennm99 12151357a5 fix(animation): register tweens to an explicit group (tween.js v25)
In @tweenjs/tween.js v25 new Tween() instances are no longer auto-added
to a default group, so the module-level update() does not advance them.
The drag-to-rotate gesture relied on this: on pointer release the snap
tween never advanced, leaving the dragged face frozen at its drag angle
until the user clicked again.

Wire animate-move.js to a private Group, pass it to every Tween, and
drive it from tickTweens(). Add a regression test that exercises both
the broken (no-group) and fixed (group) code paths so a future tween
upgrade or refactor will fail loud.
2026-04-27 10:30:40 +07:00
..