mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 13:13:43 +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
|
@ -200,6 +200,11 @@ var Text = new Class({
|
||||||
{
|
{
|
||||||
this.setPadding(style.padding);
|
this.setPadding(style.padding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (style && style.lineSpacing)
|
||||||
|
{
|
||||||
|
this._lineSpacing = style.lineSpacing;
|
||||||
|
}
|
||||||
|
|
||||||
this.setText(text);
|
this.setText(text);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue