mirror of
https://github.com/wassname/phaser.git
synced 2026-07-12 00:50:45 +08:00
Updated Loader component and fixed a few Pointer issues.
This commit is contained in:
@@ -904,7 +904,7 @@ module Phaser {
|
||||
*/
|
||||
public renderDebugInfo(x: number, y: number, color?: string = 'rgb(255,255,255)') {
|
||||
|
||||
this._game.stage.context.font = '24px Courier';
|
||||
this._game.stage.context.font = '14px Courier';
|
||||
this._game.stage.context.fillStyle = color;
|
||||
this._game.stage.context.fillText('Input', x, y);
|
||||
this._game.stage.context.fillText('Screen X: ' + this.x + ' Screen Y: ' + this.y, x, y + 14);
|
||||
|
||||
Reference in New Issue
Block a user