mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-26 08:38:22 +01: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 = () => {
|
||||
draw()
|
||||
step = window.requestAnimationFrame(drawLoop)
|
||||
|
||||
setTimeout(() => {
|
||||
step = window.requestAnimationFrame(drawLoop);
|
||||
}, 01);
|
||||
}
|
||||
|
||||
const drawPause = () => {
|
||||
|
|
Loading…
Reference in a new issue