Skip to content

Commit

Permalink
Fix .score-addition
Browse files Browse the repository at this point in the history
  • Loading branch information
petrosh committed Mar 7, 2017
1 parent 2543b07 commit 403f7db
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions js/html_actuator.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ HTMLActuator.prototype.updateScore = function (score, points) {
HTMLActuator.prototype.updateBestScore = function (bestScore, bestPoints) {
this.bestContainer.textContent = Localize( "p" + bestScore);
this.bestPoints.textContent = bestPoints;

// var difference = score - this.score;
// this.score = score;
};

HTMLActuator.prototype.message = function (won) {
Expand Down
7 changes: 5 additions & 2 deletions style/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ h1.title {
line-height: 13px;
text-align: center;
color: #3c1b1a; }
.score-container .score-addition, .best-container .score-addition {
.score-container .score-addition, .best-container .score-addition,
.score-points .score-addition, .best-points .score-addition {
position: absolute;
right: 30px;
/*right: 60px;*/
width: 100%;
text-align: center;
color: red;
font-size: 19px;
line-height: 19px;
Expand Down

0 comments on commit 403f7db

Please sign in to comment.