Fixing use const instead of let

This commit is contained in:
David Négrier
2020-06-09 23:13:26 +02:00
parent 54f2518b5e
commit 8348d13bfe
17 changed files with 116 additions and 116 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ const config: GameConfig = {
cypressAsserter.gameStarted();
let game = new Phaser.Game(config);
const game = new Phaser.Game(config);
window.addEventListener('resize', function (event) {
game.scale.resize(window.innerWidth / RESOLUTION, window.innerHeight / RESOLUTION);