Speed up ambient drift
This commit is contained in:
parent
f90662814a
commit
71174e8477
@ -407,7 +407,7 @@ function stopAmbientDrift() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function scheduleAmbientDrift() {
|
function scheduleAmbientDrift() {
|
||||||
const delay = 18000 + Math.random() * 14000; // ~18–32s
|
const delay = 10000 + Math.random() * 10000; // 10–20s
|
||||||
fireflyTimer = setTimeout(() => {
|
fireflyTimer = setTimeout(() => {
|
||||||
if (!animationsEnabled) { stopAmbientDrift(); return; }
|
if (!animationsEnabled) { stopAmbientDrift(); return; }
|
||||||
if (isDarkMode) {
|
if (isDarkMode) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user