mirror of
https://github.com/wassname/phaser.git
synced 2026-08-03 13:10:25 +08:00
More late-night math.
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user