From c2c2237015d758a5bac8246139d4de97cd735d0e Mon Sep 17 00:00:00 2001 From: loglot <88983354+loglot@users.noreply.github.com> Date: Thu, 31 Aug 2023 14:25:00 -0500 Subject: [PATCH] dvcg --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 8614250..a5a74f0 100644 --- a/main.js +++ b/main.js @@ -6,7 +6,8 @@ //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- const originalWidth = canvas.width; const originalHeight = canvas.height; -var scaleX, scaleY; +var scaleX = 0; +var scaleY = 0; //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- window.requestAnimationFrame(gameLoop)