mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Merge remote-tracking branch 'fireball/master'
This commit is contained in:
@@ -272,10 +272,10 @@ var Label = cc.Class({
|
||||
|
||||
sgNode.setHorizontalAlign( this.horizontalAlign );
|
||||
sgNode.setVerticalAlign( this.verticalAlign );
|
||||
sgNode.setFontSize( this.fontSize );
|
||||
sgNode.setFontSize( this._fontSize );
|
||||
sgNode.setOverflow( this.overflow );
|
||||
sgNode.enableWrapText( this.enableWrapText );
|
||||
sgNode.setLineHeight(this.lineHeight);
|
||||
sgNode.enableWrapText( this._enableWrapText );
|
||||
sgNode.setLineHeight(this._lineHeight);
|
||||
if(!this._useOriginalSize){
|
||||
sgNode.setContentSize(this.node.getContentSize());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user