@galacean/engine-core 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.js +5 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +5 -2
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
package/dist/module.js
CHANGED
|
@@ -3478,7 +3478,6 @@ TiledSpriteAssembler = __decorate([
|
|
|
3478
3478
|
this._bounds = null;
|
|
3479
3479
|
this._atlas = null;
|
|
3480
3480
|
this._texture = null;
|
|
3481
|
-
this._updateFlagManager = null;
|
|
3482
3481
|
};
|
|
3483
3482
|
_proto._calDefaultSize = function _calDefaultSize() {
|
|
3484
3483
|
if (this._texture) {
|
|
@@ -17653,8 +17652,8 @@ var ComponentCloner = /*#__PURE__*/ function() {
|
|
|
17653
17652
|
}
|
|
17654
17653
|
this._parent = null;
|
|
17655
17654
|
this._siblingIndex = -1;
|
|
17655
|
+
this._dispatchModify(EntityModifyFlags.Child, oldParent);
|
|
17656
17656
|
}
|
|
17657
|
-
this._dispatchModify(EntityModifyFlags.Child, oldParent);
|
|
17658
17657
|
};
|
|
17659
17658
|
/**
|
|
17660
17659
|
* @internal
|
|
@@ -17758,6 +17757,10 @@ var ComponentCloner = /*#__PURE__*/ function() {
|
|
|
17758
17757
|
}
|
|
17759
17758
|
}
|
|
17760
17759
|
this._setParentChange();
|
|
17760
|
+
} else {
|
|
17761
|
+
if (parent && siblingIndex !== undefined) {
|
|
17762
|
+
this.siblingIndex = siblingIndex;
|
|
17763
|
+
}
|
|
17761
17764
|
}
|
|
17762
17765
|
};
|
|
17763
17766
|
_proto._getComponentsInChildren = function _getComponentsInChildren(type, results) {
|