diff --git a/html/constants.js b/html/constants.js index 18a55a3..e6a077c 100644 --- a/html/constants.js +++ b/html/constants.js @@ -13,8 +13,8 @@ const constants = { LABEL_SIZE: 20, OAUTH_REDIRECT_URI: "", OAUTH_URL: "", - SCREEN_HEIGHT: 1080, - SCREEN_WIDTH: 1920, + SCREEN_HEIGHT: window.innerHeight, + SCREEN_WIDTH: window.innerWidth, STROKE_COLOR: "#000", STROKE_THICKNESS: 6, TIMEOUT_MAX: 5000,