Merge pull request #1910 from knoxHuang/Fix_Label

Modify the _updateNodeSize timing for fireball/issues/6263
This commit is contained in:
Jare Guo
2017-08-18 09:54:06 +08:00
committed by GitHub
-4
View File
@@ -494,10 +494,6 @@ var Label = cc.Class({
this._sgNode.on('load', this._updateNodeSize, this);
}
},
onEnable: function () {
this._super();
this._updateNodeSize();
},