Add missing letterSpacing to DynamicBitmapText

This commit is contained in:
Antriel 2018-04-13 10:50:18 +02:00
parent 9cfda8a7b0
commit 6be6f17bfd

View file

@ -116,6 +116,16 @@ var DynamicBitmapText = new Class({
*/
this.fontSize = size || this.fontData.size;
/**
* Adds/Removes spacing between characters
* Can be a negative or positive number
*
* @name Phaser.GameObjects.DynamicBitmapText#letterSpacing
* @type {number}
* @since 3.4.1
*/
this.letterSpacing = 0;
this.setTexture(entry.texture, entry.frame);
this.setPosition(x, y);
this.setOrigin(0, 0);