feat(settings): intro and outro animation

This commit is contained in:
2026-02-05 20:44:19 +01:00
parent 3e934540eb
commit 7bd88d6660
10 changed files with 306 additions and 52 deletions

View File

@@ -55,14 +55,14 @@ function drawLine(
onRender((ctx) => {
ctx.globalAlpha = store.isIntro
? store.intro.stage1Opacity
? store.intro.topScreenOpacity
: store.isOutro && store.outro.animateTop
? store.outro.stage1Opacity
: 1;
assets.images.home.topScreen.clock.draw(ctx, 13, 45);
ctx.globalAlpha = store.isIntro
? store.intro.stage1Opacity
? store.intro.topScreenOpacity
: store.isOutro && store.outro.animateTop
? store.outro.stage2Opacity
: 1;