MAPG-32 use Math.ceil instead of Math.round for scorebar

This commit is contained in:
Bence Pőcze 2020-05-20 14:59:48 +02:00
parent c36b91d5a8
commit 82f69664c1

View File

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