fix(settings): fix menu icon flashing the wrong image for a frame

This commit is contained in:
2026-02-10 14:10:16 +01:00
parent 873d745ecd
commit bb7b85c86f

View File

@@ -10,10 +10,9 @@ export const useMenuAnimation = (key: string, isOpen: Ref<boolean>) => {
})); }));
watch(isOpen, (current, previous) => { watch(isOpen, (current, previous) => {
const timeline = gsap.timeline({
onStart: () => {
animation.value.playing = true; animation.value.playing = true;
},
const timeline = gsap.timeline({
onComplete: () => { onComplete: () => {
animation.value.playing = false; animation.value.playing = false;
}, },