@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/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +3 -3
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/weapp.js +7 -3
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +7 -3
- package/dist/weapp.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects runtime player 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();
|
|
@@ -30450,7 +30454,7 @@ Renderer.create = function (canvas, framework, renderOptions) {
|
|
|
30450
30454
|
Engine.create = function (gl) {
|
|
30451
30455
|
return new GLEngine(gl);
|
|
30452
30456
|
};
|
|
30453
|
-
var version = "1.2.
|
|
30457
|
+
var version = "1.2.5";
|
|
30454
30458
|
logger.info('player version: ' + version);
|
|
30455
30459
|
|
|
30456
30460
|
exports.AbstractPlugin = AbstractPlugin;
|