fix(intro): correctly set isIntro to false
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m51s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m51s
This commit is contained in:
@@ -25,7 +25,11 @@ export const useIntroStore = defineStore("intro", {
|
|||||||
const logoDuration = totalFrames / 25;
|
const logoDuration = totalFrames / 25;
|
||||||
|
|
||||||
gsap
|
gsap
|
||||||
.timeline()
|
.timeline({
|
||||||
|
onComplete: () => {
|
||||||
|
this.isIntro = false;
|
||||||
|
},
|
||||||
|
})
|
||||||
.to(
|
.to(
|
||||||
this.intro,
|
this.intro,
|
||||||
{
|
{
|
||||||
@@ -43,13 +47,6 @@ export const useIntroStore = defineStore("intro", {
|
|||||||
ease: "steps(" + (totalFrames - 1) + ")",
|
ease: "steps(" + (totalFrames - 1) + ")",
|
||||||
},
|
},
|
||||||
4.1,
|
4.1,
|
||||||
)
|
|
||||||
.call(
|
|
||||||
() => {
|
|
||||||
this.isIntro = false;
|
|
||||||
},
|
|
||||||
[],
|
|
||||||
4.1,
|
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user