#37 - remove reset view on animation start

This commit is contained in:
isUnknown 2024-12-17 12:18:20 +01:00
parent 0ba3c9ab55
commit 451e82f492

View file

@ -146,8 +146,6 @@ function loopAnimation() {
let animationIntervalId;
watch(isLoopAnimationEnabled, (newValue) => {
if (newValue) {
currentX.value = 0;
currentY.value = 0;
animationIntervalId = setInterval(loopAnimation, 300);
} else {
clearInterval(animationIntervalId);