From 3e2807e4d7671a0e817b4aa83995a76731e44ab2 Mon Sep 17 00:00:00 2001 From: xzadudu179 Date: Thu, 28 Aug 2025 18:32:12 +0800 Subject: [PATCH] fix: issue#84 --- src/content/Animations/TargetCursor/TargetCursor.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/content/Animations/TargetCursor/TargetCursor.vue b/src/content/Animations/TargetCursor/TargetCursor.vue index 9280c88..9d00733 100644 --- a/src/content/Animations/TargetCursor/TargetCursor.vue +++ b/src/content/Animations/TargetCursor/TargetCursor.vue @@ -115,8 +115,10 @@ const setupAnimation = () => { } activeTarget = target; - - gsap.killTweensOf(cursorRef.value); + const corners = Array.from(cornersRef.value); + corners.forEach(corner => { + gsap.killTweensOf(corner); + }) spinTl.value?.pause(); gsap.set(cursorRef.value, { rotation: 0 });