@galacean/effects-core 1.2.4 → 1.2.5
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/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime core for the web
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
|
|
6
|
-
* Version: v1.2.
|
|
6
|
+
* Version: v1.2.5
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -13146,9 +13146,13 @@ var InteractVFXItem = /** @class */ (function (_super) {
|
|
|
13146
13146
|
this.handleDragMove(this.dragEvent, this.bouncingArg);
|
|
13147
13147
|
}
|
|
13148
13148
|
};
|
|
13149
|
-
InteractVFXItem.prototype.
|
|
13149
|
+
InteractVFXItem.prototype.onEnd = function () {
|
|
13150
|
+
if (this.composition) {
|
|
13151
|
+
this.composition.removeInteractiveItem(this, this.ui.options.type);
|
|
13152
|
+
}
|
|
13153
|
+
};
|
|
13154
|
+
InteractVFXItem.prototype.onItemRemoved = function () {
|
|
13150
13155
|
var _a;
|
|
13151
|
-
composition.removeInteractiveItem(this, this.ui.options.type);
|
|
13152
13156
|
this.clickable = false;
|
|
13153
13157
|
(_a = this.previewContent) === null || _a === void 0 ? void 0 : _a.mesh.dispose();
|
|
13154
13158
|
this.endDragTarget();
|