Browse Source

calculated scroll interval

pull/8/head
Tim Glasgow 3 years ago
parent
commit
b84129b9f2
  1. 7
      squarenotsquare/src/themes/Metrics.js

7
squarenotsquare/src/themes/Metrics.js

@ -44,7 +44,8 @@ class AppMetrics {
this.margins = {
default: this.normalize(5),
buttonMargin: this.normalize(20)
buttonMargin: this.normalize(20),
gameStartMargin: this.normalize(30)
}
this.buttons = {
@ -59,6 +60,10 @@ class AppMetrics {
}
}
this.animated = {
gameScrollInterval: (this.answerButtonHeight + (this.buttonMargin * 2))
}
this.borders = {
width: 1
}

Loading…
Cancel
Save