#37 - remove reset view on animation start
This commit is contained in:
parent
0ba3c9ab55
commit
451e82f492
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue