From c97a77bbdf0e2d89aa8b6ac0645ee126aec6cffe Mon Sep 17 00:00:00 2001 From: lengstrom Date: Mon, 26 May 2014 13:30:39 -0400 Subject: [PATCH] made center text white --- js/Block.js | 3 +-- js/view.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/js/Block.js b/js/Block.js index 05cf8e3..27da3e0 100644 --- a/js/Block.js +++ b/js/Block.js @@ -171,6 +171,5 @@ function findCenterOfBlocks(arr) { return { x:trueCanvas.width/2 + Math.cos(avgAngle * (Math.PI / 180)) * avgDFH, y:trueCanvas.height/2 + Math.sin(avgAngle * (Math.PI / 180)) * avgDFH - } - + }; } diff --git a/js/view.js b/js/view.js index d87c68d..18ff307 100644 --- a/js/view.js +++ b/js/view.js @@ -38,7 +38,7 @@ function renderText(x, y, fontSize, color, text) { } function drawScoreboard() { - renderText(trueCanvas.width / 2 + gdx, trueCanvas.height / 2 + gdy, 50, grey, score); + renderText(trueCanvas.width / 2 + gdx, trueCanvas.height / 2 + gdy, 50, "#fff", score); } function clearGameBoard() {