Merged in bugfix/MAPG-40-fix-invalid-usage-of-math.ceil (pull request #24)

MAPG-40 use Math.floor instead of accidentally used Math.ceil
This commit is contained in:
Bence Pőcze 2020-05-21 13:19:51 +00:00
commit 8cf727a54a

View File

@ -56,7 +56,7 @@
},
calculateScoreBarProperties: function (score) {
var percent = Math.ceil((score / Core.MAX_SCORE) * 100);
var percent = Math.floor((score / Core.MAX_SCORE) * 100);
var color;
if (percent >= 90) {