From 451e82f4921a9abc0f42c00e7fb459ed2f5c2448 Mon Sep 17 00:00:00 2001 From: isUnknown Date: Tue, 17 Dec 2024 12:18:20 +0100 Subject: [PATCH] #37 - remove reset view on animation start --- src/components/project/virtual-sample/Interactive360.vue | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/project/virtual-sample/Interactive360.vue b/src/components/project/virtual-sample/Interactive360.vue index 66f136f..9a7375c 100644 --- a/src/components/project/virtual-sample/Interactive360.vue +++ b/src/components/project/virtual-sample/Interactive360.vue @@ -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);