diff --git a/public/static/css/mapguesser.css b/public/static/css/mapguesser.css index 0c8b591..19f7fae 100644 --- a/public/static/css/mapguesser.css +++ b/public/static/css/mapguesser.css @@ -149,6 +149,7 @@ button:disabled { #scoreBar { height: 100%; + width: 0; transition-property: width; transition-duration: 1.0s; } diff --git a/public/static/js/mapguesser.js b/public/static/js/mapguesser.js index 759f25c..10043ae 100644 --- a/public/static/js/mapguesser.js +++ b/public/static/js/mapguesser.js @@ -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) {