mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
Failed to refresh the size in time for fireball/issues/6263
This commit is contained in:
@@ -501,6 +501,11 @@ var Label = cc.Class({
|
||||
|
||||
},
|
||||
|
||||
onEnable: function () {
|
||||
this._super();
|
||||
this._updateNodeSize();
|
||||
},
|
||||
|
||||
_createSgNode: function () {
|
||||
return null;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user