mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Merge pull request #1910 from knoxHuang/Fix_Label
Modify the _updateNodeSize timing for fireball/issues/6263
This commit is contained in:
@@ -494,10 +494,6 @@ var Label = cc.Class({
|
||||
this._sgNode.on('load', this._updateNodeSize, this);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
onEnable: function () {
|
||||
this._super();
|
||||
this._updateNodeSize();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user