mirror of
https://codeberg.org/ashley/poke
synced 2025-04-06 01:27:59 +00:00
fix ambient mode
This commit is contained in:
parent
047be6d949
commit
05d1d2866f
@ -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 = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user