@rive-app/canvas-lite 2.23.9 → 2.23.10
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/package.json +1 -1
- package/rive.js +5 -2
- package/rive.js.map +1 -1
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -2269,7 +2269,7 @@ Qc();
|
|
|
2269
2269
|
/* 2 */
|
|
2270
2270
|
/***/ ((module) => {
|
|
2271
2271
|
|
|
2272
|
-
module.exports = JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.23.
|
|
2272
|
+
module.exports = JSON.parse('{"name":"@rive-app/canvas-lite","version":"2.23.10","description":"A lite version of Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
2273
2273
|
|
|
2274
2274
|
/***/ }),
|
|
2275
2275
|
/* 3 */
|
|
@@ -4644,7 +4644,10 @@ var Rive = /** @class */ (function () {
|
|
|
4644
4644
|
});
|
|
4645
4645
|
return;
|
|
4646
4646
|
}
|
|
4647
|
-
this.animator
|
|
4647
|
+
// If there is no artboard, this.animator will be undefined
|
|
4648
|
+
if (this.animator) {
|
|
4649
|
+
this.animator.stop(animationNames);
|
|
4650
|
+
}
|
|
4648
4651
|
if (this.eventCleanup) {
|
|
4649
4652
|
this.eventCleanup();
|
|
4650
4653
|
}
|