From bb7b85c86f31ae914fe9b4c9399b4f9dc9adbc13 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Tue, 10 Feb 2026 14:10:16 +0100 Subject: [PATCH] fix(settings): fix menu icon flashing the wrong image for a frame --- app/composables/useMenuAnimation.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/composables/useMenuAnimation.ts b/app/composables/useMenuAnimation.ts index b6f0f28..c05aea4 100644 --- a/app/composables/useMenuAnimation.ts +++ b/app/composables/useMenuAnimation.ts @@ -10,10 +10,9 @@ export const useMenuAnimation = (key: string, isOpen: Ref) => { })); watch(isOpen, (current, previous) => { + animation.value.playing = true; + const timeline = gsap.timeline({ - onStart: () => { - animation.value.playing = true; - }, onComplete: () => { animation.value.playing = false; },