diff --git a/src/content/Animations/TargetCursor/TargetCursor.vue b/src/content/Animations/TargetCursor/TargetCursor.vue index 72326b5..168cc40 100644 --- a/src/content/Animations/TargetCursor/TargetCursor.vue +++ b/src/content/Animations/TargetCursor/TargetCursor.vue @@ -35,7 +35,7 @@ const moveCursor = (x: number, y: number) => { }); }; -let cleanupAnimation: () => void = () => {}; +let cleanupAnimation: () => void = () => { }; const setupAnimation = () => { if (!cursorRef.value) return; @@ -116,7 +116,7 @@ const setupAnimation = () => { activeTarget = target; - gsap.killTweensOf(cursorRef.value, 'rotation'); + gsap.killTweensOf(cursorRef.value); spinTl.value?.pause(); gsap.set(cursorRef.value, { rotation: 0 }); @@ -336,30 +336,22 @@ watch(