mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 07:01:20 +00:00
Merge pull request #3329 from sftsk/master
Quick fix for missing lineSpacing
This commit is contained in:
commit
6128b27402
1 changed files with 5 additions and 0 deletions
|
@ -201,6 +201,11 @@ var Text = new Class({
|
|||
this.setPadding(style.padding);
|
||||
}
|
||||
|
||||
if (style && style.lineSpacing)
|
||||
{
|
||||
this._lineSpacing = style.lineSpacing;
|
||||
}
|
||||
|
||||
this.setText(text);
|
||||
|
||||
var _this = this;
|
||||
|
|
Loading…
Reference in a new issue