feat(home): don't fade from white if nds was already booted
This commit is contained in:
@@ -19,6 +19,8 @@ export const useHomeStore = defineStore("home", {
|
||||
|
||||
actions: {
|
||||
animateIntro() {
|
||||
const appStore = useAppStore();
|
||||
|
||||
this.isIntro = true;
|
||||
|
||||
const start = 0.5;
|
||||
@@ -35,6 +37,7 @@ export const useHomeStore = defineStore("home", {
|
||||
ease: "none",
|
||||
onComplete: () => {
|
||||
this.isIntro = false;
|
||||
if (!appStore.booted) appStore.booted = true;
|
||||
},
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user