More late-night math.

This commit is contained in:
Richard Davey
2013-09-01 02:28:51 +01:00
parent 5d4da0ce66
commit 99e0934244
3 changed files with 97 additions and 75 deletions
+2
View File
@@ -397,9 +397,11 @@ Phaser.Utils.Debug.prototype = {
if (typeof color === "undefined") { color = 'rgb(255,255,255)'; }
if (typeof font === "undefined") { font = '16px Courier'; }
this.start();
this.context.font = font;
this.context.fillStyle = color;
this.context.fillText(text, x, y);
this.stop();
}