Merge pull request #3329 from sftsk/master

Quick fix for missing lineSpacing
This commit is contained in:
Richard Davey 2018-03-05 14:51:16 +00:00 committed by GitHub
commit 6128b27402
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,6 +201,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);
var _this = this; var _this = this;