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:
parent
047be6d949
commit
05d1d2866f
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue