From a003670da092f15f15dcbbaf32057f78ba0982bf Mon Sep 17 00:00:00 2001 From: Stefan Kairinos <118008817+SKairinos@users.noreply.github.com> Date: Fri, 3 Nov 2023 17:27:05 +0000 Subject: [PATCH] fix: set game width and height to 100% (#1516) --- game/static/game/js/drawing.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/static/game/js/drawing.js b/game/static/game/js/drawing.js index e25e40f9e..5cb96153b 100644 --- a/game/static/game/js/drawing.js +++ b/game/static/game/js/drawing.js @@ -8,8 +8,8 @@ var GRID_SPACE_SIZE = 100 let PAPER_WIDTH = GRID_SPACE_SIZE * GRID_WIDTH let PAPER_HEIGHT = GRID_SPACE_SIZE * GRID_HEIGHT let PAPER_PADDING = 30 -let EXTENDED_PAPER_WIDTH = PAPER_WIDTH + 2 * PAPER_PADDING -let EXTENDED_PAPER_HEIGHT = PAPER_HEIGHT + 2 * PAPER_PADDING +let EXTENDED_PAPER_WIDTH = '100%' +let EXTENDED_PAPER_HEIGHT = '100%' let DEFAULT_CHARACTER_WIDTH = 40 let DEFAULT_CHARACTER_HEIGHT = 20