update rendering (try to fix tile not appearing)
This commit is contained in:
parent
a703b2e2a8
commit
599de1d25f
1 changed files with 3 additions and 1 deletions
|
@ -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(() => {
|
||||||
|
|
Loading…
Reference in a new issue