@eva/plugin-renderer-dragonbone 1.2.5 → 1.2.7
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/EVA.plugin.renderer.dragonbone.js +1 -1
- package/dist/EVA.plugin.renderer.dragonbone.min.js +1 -1
- package/dist/miniprogram.js +1 -1
- package/dist/plugin-renderer-dragonbone.cjs.js +4 -1
- package/dist/plugin-renderer-dragonbone.cjs.prod.js +1 -1
- package/dist/plugin-renderer-dragonbone.esm.js +4 -1
- package/package.json +3 -3
|
@@ -17034,15 +17034,18 @@ var DragonBone = (function (_super) {
|
|
|
17034
17034
|
};
|
|
17035
17035
|
DragonBone.prototype.add = function (changed) {
|
|
17036
17036
|
return __awaiter(this, void 0, void 0, function () {
|
|
17037
|
-
var component, armature, _loop_1, key;
|
|
17037
|
+
var component, asyncId, armature, _loop_1, key;
|
|
17038
17038
|
return __generator(this, function (_a) {
|
|
17039
17039
|
switch (_a.label) {
|
|
17040
17040
|
case 0:
|
|
17041
17041
|
component = changed.component;
|
|
17042
17042
|
this.isRemovedMap.delete(component);
|
|
17043
|
+
asyncId = this.increaseAsyncId(changed.gameObject.id);
|
|
17043
17044
|
return [4, eva_js.resource.getResource(component.resource)];
|
|
17044
17045
|
case 1:
|
|
17045
17046
|
_a.sent();
|
|
17047
|
+
if (!this.validateAsyncId(changed.gameObject.id, asyncId))
|
|
17048
|
+
return [2];
|
|
17046
17049
|
if (this.isRemovedMap.get(component)) {
|
|
17047
17050
|
this.isRemovedMap.delete(component);
|
|
17048
17051
|
return [2];
|