Fix animation delay calculation for symbols in resurrection feature
This commit is contained in:
@@ -57,7 +57,7 @@ function createSymbol(imageSrc, leftPercent, delaySeconds) {
|
||||
img.alt = '';
|
||||
|
||||
symbol.style.left = `${leftPercent}%`;
|
||||
symbol.style.animationDelay = `${delaySeconds}s, ${Math.random() * 3}s`;
|
||||
symbol.style.animationDelay = `${delaySeconds}s, -${Math.random() * 3}s`;
|
||||
|
||||
if (enableDifferentDuration) {
|
||||
const fallDuration = Math.random() * 7 + 7;
|
||||
|
||||
Reference in New Issue
Block a user