Update html/poketube.ejs

This commit is contained in:
ashley 2024-08-27 23:15:01 +00:00
parent d01a34f9b5
commit b828caa86e

View file

@ -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)
}
}