mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #1536 from zilongshanren/fix-bmfont-spacingX-loading
fix BMFont spacingX
This commit is contained in:
@@ -516,6 +516,7 @@ var Label = cc.Class({
|
||||
sgNode.enableWrapText( this._enableWrapText );
|
||||
sgNode.setLineHeight(this._lineHeight);
|
||||
sgNode.setString(this.string);
|
||||
sgNode.setSpacingX(this.spacingX);
|
||||
if (CC_EDITOR) {
|
||||
this._userDefinedFontSize = this.fontSize;
|
||||
this._userDefinedFont = this.font;
|
||||
|
||||
Reference in New Issue
Block a user