feat(intro): adjust intro timing and set booted to false by default
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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(() => {
|
||||
.call(
|
||||
() => {
|
||||
this.isIntro = false;
|
||||
});
|
||||
},
|
||||
[],
|
||||
4.1,
|
||||
);
|
||||
},
|
||||
|
||||
animateOutro() {
|
||||
|
||||
Reference in New Issue
Block a user