update rendering (try to fix tile not appearing)

This commit is contained in:
Gabriel Augendre 2024-01-23 00:29:31 +01:00
parent a703b2e2a8
commit 599de1d25f

View file

@ -53,6 +53,8 @@ function round() {
zone.classList.remove("inactive"); zone.classList.remove("inactive");
setTimeout(function() { setTimeout(function() {
zone.style.transition = `background-color ${timeBetween-(MIN_TIME_BETWEEN / 2)}ms`; zone.style.transition = `background-color ${timeBetween-(MIN_TIME_BETWEEN / 2)}ms`;
}, 100);
setTimeout(function () {
zone.classList.add("fade-out"); zone.classList.add("fade-out");
}, MIN_TIME_BETWEEN / 2); }, MIN_TIME_BETWEEN / 2);
let zoneTimeout = setTimeout(() => { let zoneTimeout = setTimeout(() => {