Skip to content

Commit dba8739

Browse files
authored
Merge pull request #87 from xzadudu179/main
fix: #84 Target Cursor
2 parents 2f68560 + ee5550c commit dba8739

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/content/Animations/TargetCursor/TargetCursor.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ const setupAnimation = () => {
115115
}
116116
117117
activeTarget = target;
118-
118+
const corners = Array.from(cornersRef.value);
119+
corners.forEach(corner => {
120+
gsap.killTweensOf(corner);
121+
})
119122
gsap.killTweensOf(cursorRef.value, 'rotation');
120123
spinTl.value?.pause();
121124

0 commit comments

Comments
 (0)