Fix undo restore component issues (#2829)

* Fix undo restore component issues

* Fix undo Label restore
This commit is contained in:
pandamicro
2018-06-08 10:17:18 +08:00
committed by GitHub
parent 02b39bb853
commit c7ffd49dd9
2 changed files with 1 additions and 2 deletions
+1
View File
@@ -479,6 +479,7 @@ let Label = cc.Class({
onDestroy () {
this._assembler._resetAssemblerData && this._assembler._resetAssemblerData(this._assemblerData);
this._assemblerData = null;
this._super();
},
_checkStringEmpty () {
@@ -160,8 +160,6 @@ let EditBoxImpl = cc.Class({
this._updateDomInputType();
this._updateSize(this._size.width, this._size.height);
this._updateMatrix();
},
setInputFlag (inputFlag) {