feat(achievements): black fade in and out from home and settings screen

This commit is contained in:
2026-01-26 17:54:13 +01:00
parent 944f84944c
commit 28212bdbf3
14 changed files with 161 additions and 72 deletions

View File

@@ -29,6 +29,7 @@ export const useAppStore = defineStore("app", {
return {
booted: false,
settings,
previousScreen: "home" as AppScreen,
screen: "home" as AppScreen,
camera: null as THREE.Camera | null,
};
@@ -40,6 +41,7 @@ export const useAppStore = defineStore("app", {
},
navigateTo(screen: AppScreen) {
this.previousScreen = this.screen;
this.screen = screen;
const achievements = useAchievementsStore();