diff --git a/html/poketube.ejs b/html/poketube.ejs index 8082d405..6b4c8db8 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -2147,9 +2147,7 @@ const drawStart = () => { ctx: i % 2 === 0 ? oddCtx : evenCtx, oddFrame: i % 2 === 0 } - workers[i].canvas.style.transition = `opacity ${frameIntervalMs / numWorkers}ms` - workers[i].canvas.style.zIndex = i - intervalId = window.setInterval(() => drawFrame(i), frameIntervalMs / numWorkers) + workers[i].canvas.style.transition = `opacity ${frameIntervalMs / numWorkers}ms` intervalId = window.setInterval(() => drawFrame(i), frameIntervalMs / numWorkers) } }