mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 15:52:40 +08:00
Fix undo restore component issues (#2829)
* Fix undo restore component issues * Fix undo Label restore
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user