From a0a7726142f5f1b9fa7a0041360c0df2744c5a58 Mon Sep 17 00:00:00 2001 From: Tim Glasgow Date: Tue, 9 Aug 2022 22:29:29 -0500 Subject: [PATCH] ninekey metrics --- squarenotsquare/src/themes/Metrics.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/squarenotsquare/src/themes/Metrics.js b/squarenotsquare/src/themes/Metrics.js index a5dd8e8..73830ff 100644 --- a/squarenotsquare/src/themes/Metrics.js +++ b/squarenotsquare/src/themes/Metrics.js @@ -45,7 +45,8 @@ class AppMetrics { this.margins = { default: this.normalize(5), buttonMargin: this.normalize(20), - gameStartMargin: this.normalize(30) + gameStartMargin: this.normalize(30), + nineKeyMargin: this.normalize(2) } this.buttons = { @@ -57,11 +58,15 @@ class AppMetrics { answerButton: { width: this.normalize(40), height: this.normalize(40) + }, + nineKeyButton: { + width: this.screenWidth * 0.28, + height: this.screenHeight * 0.08 } } this.animated = { - gameScrollInterval: ( + squareInterval: ( this.buttons.answerButton.height + (this.margins.buttonMargin * 2) )