From 3d686a7924d78fc311f0757ee849a7f88e1fbbb8 Mon Sep 17 00:00:00 2001 From: Pihkaal Date: Fri, 13 Feb 2026 17:58:54 +0100 Subject: [PATCH] feat(intro): adjust intro timing and set booted to false by default --- app/stores/app.ts | 2 +- app/stores/intro.ts | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/app/stores/app.ts b/app/stores/app.ts index 2b950e3..fe41f5e 100644 --- a/app/stores/app.ts +++ b/app/stores/app.ts @@ -45,7 +45,7 @@ export const useAppStore = defineStore("app", { return { ready: false, - booted: true, + booted: false, settings, previousScreen: "home" as AppScreen, screen: "home" as AppScreen, diff --git a/app/stores/intro.ts b/app/stores/intro.ts index 9a1b1c9..00775b9 100644 --- a/app/stores/intro.ts +++ b/app/stores/intro.ts @@ -26,7 +26,6 @@ export const useIntroStore = defineStore("intro", { gsap .timeline() - .to({}, { duration: 2 }) .to( this.intro, { @@ -34,7 +33,7 @@ export const useIntroStore = defineStore("intro", { duration: 0.1, ease: "none", }, - 3, + 4.1, ) .to( this.intro, @@ -43,11 +42,15 @@ export const useIntroStore = defineStore("intro", { duration: logoDuration, ease: "steps(" + (totalFrames - 1) + ")", }, - 3, + 4.1, ) - .call(() => { - this.isIntro = false; - }); + .call( + () => { + this.isIntro = false; + }, + [], + 4.1, + ); }, animateOutro() {