diff options
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -19,8 +19,10 @@ <script> const game = { - width: document.getElementById('game-canvas').width, - height: document.getElementById('game-canvas').height, + canvas: { + width: document.getElementById('game-canvas').width, + height: document.getElementById('game-canvas').height, + } }; </script> |