diff --git a/app/components/Projects/BottomScreen/Buttons.vue b/app/components/Projects/BottomScreen/Buttons.vue index 5bd5e5e..80ee6c4 100644 --- a/app/components/Projects/BottomScreen/Buttons.vue +++ b/app/components/Projects/BottomScreen/Buttons.vue @@ -79,7 +79,7 @@ const startButtonAnimation = (type: ButtonType) => { }; useScreenClick((x, y) => { - if (currentAnimation) return; + if (currentAnimation || store.isIntro || store.isOutro) return; const project = store.projects[store.currentProject]; if (circleContains(BUTTONS.prev.position, [x, y], CLICK_RADIUS)) { @@ -131,7 +131,7 @@ useRender((ctx) => { ctx.fillRect(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT); }); useKeyDown((key) => { - if (currentAnimation) return; + if (currentAnimation || store.isIntro || store.isOutro) return; switch (key) { case "NDS_LEFT": startButtonAnimation("prev");