1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 06:14:39 -05:00

fix ambient mode

This commit is contained in:
Ashley 2023-12-08 18:03:36 +00:00
parent 047be6d949
commit 05d1d2866f

View file

@ -1799,7 +1799,10 @@ const draw = () => {
const drawLoop = () => { const drawLoop = () => {
draw() draw()
step = window.requestAnimationFrame(drawLoop)
setTimeout(() => {
step = window.requestAnimationFrame(drawLoop);
}, 01);
} }
const drawPause = () => { const drawPause = () => {