mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 06:29:30 -07:00
fix: issue#84
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user