mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-13 00:58:08 +01:00
Update html/poketube.ejs
This commit is contained in:
parent
d01a34f9b5
commit
b828caa86e
1 changed files with 1 additions and 3 deletions
|
@ -2147,9 +2147,7 @@ const drawStart = () => {
|
||||||
ctx: i % 2 === 0 ? oddCtx : evenCtx,
|
ctx: i % 2 === 0 ? oddCtx : evenCtx,
|
||||||
oddFrame: i % 2 === 0
|
oddFrame: i % 2 === 0
|
||||||
}
|
}
|
||||||
workers[i].canvas.style.transition = `opacity ${frameIntervalMs / numWorkers}ms`
|
workers[i].canvas.style.transition = `opacity ${frameIntervalMs / numWorkers}ms` intervalId = window.setInterval(() => drawFrame(i), frameIntervalMs / numWorkers)
|
||||||
workers[i].canvas.style.zIndex = i
|
|
||||||
intervalId = window.setInterval(() => drawFrame(i), frameIntervalMs / numWorkers)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue