mirror of
https://github.com/photonstorm/phaser
synced 2024-11-26 22:52:14 +00:00
Merge pull request #2429 from lewispollard/dev
Alter BitmapText to use toString on text parameter in constructor
This commit is contained in:
commit
9c972d241e
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ Phaser.BitmapText = function (game, x, y, font, text, size, align) {
|
|||
* @property {string} _text - Internal cache var.
|
||||
* @private
|
||||
*/
|
||||
this._text = text;
|
||||
this._text = text.toString() || '';
|
||||
|
||||
/**
|
||||
* @property {string} _data - Internal cache var.
|
||||
|
|
Loading…
Reference in a new issue