diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js index ce4cf58..d83a00b 100644 --- a/index.js +++ b/index.js @@ -754,4 +754,6 @@ canvas.addEventListener('keypress', evt => { } }) +canvas.focus() + requestAnimationFrame(drawLoop) |