We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78547aa commit 6d4f635Copy full SHA for 6d4f635
src/constants.ts
@@ -30,9 +30,9 @@ const constants = {
30
/** score label font size */
31
SCORE_SIZE: 26,
32
/** height of screen */
33
- SCREEN_HEIGHT: 1080,
+ SCREEN_HEIGHT: window.innerHeight,
34
/** width of screen */
35
- SCREEN_WIDTH: 1920,
+ SCREEN_WIDTH: window.innerWidth,
36
/** font stroke color */
37
STROKE_COLOR: "#000",
38
/** font stroke thickness */
0 commit comments