Skip to content

Commit

Permalink
✨ use viewport dimensions for scene size
Browse files Browse the repository at this point in the history
  • Loading branch information
haliphax committed Dec 19, 2023
1 parent ef77b7f commit 5a2da39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions html/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 5a2da39

Please sign in to comment.