Skip to content

Commit 6128b27

Browse files
authored
Merge pull request phaserjs#3329 from sftsk/master
Quick fix for missing lineSpacing
2 parents 5168300 + 97bfe2e commit 6128b27

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/gameobjects/text/static/Text.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@ var Text = new Class({
200200
{
201201
this.setPadding(style.padding);
202202
}
203+
204+
if (style && style.lineSpacing)
205+
{
206+
this._lineSpacing = style.lineSpacing;
207+
}
203208

204209
this.setText(text);
205210

0 commit comments

Comments
 (0)