@galacean/effects 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/weapp.js CHANGED
@@ -13140,9 +13140,13 @@ var InteractVFXItem = /** @class */ (function (_super) {
13140
13140
  this.handleDragMove(this.dragEvent, this.bouncingArg);
13141
13141
  }
13142
13142
  };
13143
- InteractVFXItem.prototype.onItemRemoved = function (composition) {
13143
+ InteractVFXItem.prototype.onEnd = function () {
13144
+ if (this.composition) {
13145
+ this.composition.removeInteractiveItem(this, this.ui.options.type);
13146
+ }
13147
+ };
13148
+ InteractVFXItem.prototype.onItemRemoved = function () {
13144
13149
  var _a;
13145
- composition.removeInteractiveItem(this, this.ui.options.type);
13146
13150
  this.clickable = false;
13147
13151
  (_a = this.previewContent) === null || _a === void 0 ? void 0 : _a.mesh.dispose();
13148
13152
  this.endDragTarget();
@@ -30444,7 +30448,7 @@ Renderer.create = function (canvas, framework, renderOptions) {
30444
30448
  Engine.create = function (gl) {
30445
30449
  return new GLEngine(gl);
30446
30450
  };
30447
- var version = "1.2.4";
30451
+ var version = "1.2.5";
30448
30452
  logger.info('player version: ' + version);
30449
30453
 
30450
30454
  exports.AbstractPlugin = AbstractPlugin;