Auto commit: 2026-02-15T03:21:18.566Z
This commit is contained in:
parent
f980b7c4ad
commit
581a6edfd9
@ -801,6 +801,13 @@ $liveIndex = get_live_index($schedule);
|
||||
void appContainer.offsetWidth; // Trigger reflow
|
||||
appContainer.classList.add("shake");
|
||||
|
||||
// Randomize wave color on drop
|
||||
const r = Math.floor(Math.random() * 256);
|
||||
const g = Math.floor(Math.random() * 256);
|
||||
const b = Math.floor(Math.random() * 256);
|
||||
waveColor = `rgba(${r}, ${g}, ${b}, 0.8)`;
|
||||
waveGlow = `rgba(${r}, ${g}, ${b}, 0.4)`;
|
||||
|
||||
setTimeout(() => {
|
||||
flashEl.style.transition = "opacity 0.4s ease-out";
|
||||
flashEl.style.opacity = "0";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user