From 86f69c7308b4a95a5c8e95f078d127acb333f814 Mon Sep 17 00:00:00 2001 From: schmop Date: Sun, 31 May 2026 18:31:15 +0200 Subject: [PATCH] FX-Partikel: Aufblitzen/Flackern beim Start beheben (animation-fill-mode both) --- src/lib/components/game/BurstFx.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/components/game/BurstFx.svelte b/src/lib/components/game/BurstFx.svelte index 6064e64..79e770a 100644 --- a/src/lib/components/game/BurstFx.svelte +++ b/src/lib/components/game/BurstFx.svelte @@ -57,8 +57,8 @@ position: absolute; border-radius: 50%; background: var(--color); - transform: rotate(var(--angle)) translateY(0); - animation: fly 0.7s ease-out forwards; + /* both = der 0%-Zustand gilt schon vor dem ersten Tick → kein Aufblitzen/Flackern beim Start. */ + animation: fly 0.7s ease-out both; } @keyframes fly { 0% { transform: rotate(var(--angle)) translateY(0) scale(0.6); opacity: 1; }