cap maximum time to 60
This commit is contained in:
parent
d165d7b67a
commit
5a6aad3db1
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ class Index extends App.ControllerContent
|
||||||
canvas.attr 'width', 2 * radius
|
canvas.attr 'width', 2 * radius
|
||||||
canvas.attr 'height', 2 * radius
|
canvas.attr 'height', 2 * radius
|
||||||
|
|
||||||
|
time = 60 if time > 60
|
||||||
|
|
||||||
handlingTimeColors =
|
handlingTimeColors =
|
||||||
5: '#38AE6A' # supergood
|
5: '#38AE6A' # supergood
|
||||||
10: '#A9AC41' # good
|
10: '#A9AC41' # good
|
||||||
|
|
Loading…
Reference in a new issue