mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 21:17:58 +01:00
Update html/poketube.ejs
This commit is contained in:
parent
fb935907e7
commit
a821da922d
1 changed files with 2 additions and 2 deletions
|
@ -1806,9 +1806,9 @@ const frameRate = 4; // Set the desired frame rate in milliseconds
|
||||||
const drawLoop = () => {
|
const drawLoop = () => {
|
||||||
draw()
|
draw()
|
||||||
|
|
||||||
setTimeout(() => {
|
setInterval(() => {
|
||||||
step = window.requestAnimationFrame(drawLoop);
|
step = window.requestAnimationFrame(drawLoop);
|
||||||
}, 01);
|
}, 50);
|
||||||
}
|
}
|
||||||
|
|
||||||
const drawPause = () => {
|
const drawPause = () => {
|
||||||
|
|
Loading…
Reference in a new issue