diff --git a/html/poketube.ejs b/html/poketube.ejs index aa470003..9faf6f76 100644 --- a/html/poketube.ejs +++ b/html/poketube.ejs @@ -1806,9 +1806,9 @@ const frameRate = 4; // Set the desired frame rate in milliseconds const drawLoop = () => { draw() - setTimeout(() => { + setInterval(() => { step = window.requestAnimationFrame(drawLoop); - }, 01); + }, 50); } const drawPause = () => {