feat(nds): tweak animations durations

This commit is contained in:
2026-02-26 14:58:46 +01:00
parent 3216d6e79e
commit eba1b8d84c
6 changed files with 35 additions and 35 deletions

View File

@@ -67,7 +67,7 @@ export const useHomeStore = defineStore("home", {
{ stage1Opacity: 0 },
{
stage1Opacity: 1,
duration: 0.5,
duration: 0.35,
ease: "none",
},
0,
@@ -80,7 +80,7 @@ export const useHomeStore = defineStore("home", {
{ topScreenOpacity: 0 },
{
topScreenOpacity: 1,
duration: 0.5,
duration: 0.35,
ease: "none",
},
0,
@@ -90,10 +90,10 @@ export const useHomeStore = defineStore("home", {
{ statusBarY: -20 },
{
statusBarY: 0,
duration: 0.15,
duration: 0.1,
ease: "none",
},
0.35,
0.15,
);
} else {
this.intro.topScreenOpacity = 1;
@@ -139,7 +139,7 @@ export const useHomeStore = defineStore("home", {
{ stage2Opacity: 1 },
{
stage2Opacity: 0,
duration: 0.16,
duration: 0.12,
ease: "none",
},
0,
@@ -153,10 +153,10 @@ export const useHomeStore = defineStore("home", {
{
buttonOffsetY: -200,
stage1Opacity: 0,
duration: 0.4,
duration: 0.3,
ease: "none",
},
0.08,
0.06,
);
},
},