mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
feat(animations): refine home page animations
This commit is contained in:
+8
-2
@@ -2297,8 +2297,14 @@ export async function loadHomePage() {
|
|||||||
if (settingsState.animations) {
|
if (settingsState.animations) {
|
||||||
animate(
|
animate(
|
||||||
'.home-container > div',
|
'.home-container > div',
|
||||||
{ opacity: [0, 1], y: [10, 0] },
|
{ opacity: [0, 1], y: [10, 0], scale: [0.99, 1] },
|
||||||
{ delay: stagger(0.2), startTime: 0 }
|
{
|
||||||
|
delay: stagger(0.15, { startDelay: 0.1 }),
|
||||||
|
type: 'spring',
|
||||||
|
stiffness: 341,
|
||||||
|
damping: 20,
|
||||||
|
mass: 1
|
||||||
|
}
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user