@rive-app/canvas-single 1.1.9 → 1.1.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 +2 -2
- package/rive.js.map +1 -1
package/package.json
CHANGED
package/rive.js
CHANGED
|
@@ -134,7 +134,7 @@ if(m.preInit)for("function"==typeof m.preInit&&(m.preInit=[m.preInit]);0<m.preIn
|
|
|
134
134
|
/* 2 */
|
|
135
135
|
/***/ ((module) => {
|
|
136
136
|
|
|
137
|
-
module.exports = JSON.parse('{"name":"@rive-app/canvas-single","version":"1.1.
|
|
137
|
+
module.exports = JSON.parse('{"name":"@rive-app/canvas-single","version":"1.1.10","description":"Rive\'s high-level canvas based web api all in one js file.","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.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
138
138
|
|
|
139
139
|
/***/ }),
|
|
140
140
|
/* 3 */
|
|
@@ -821,7 +821,7 @@ var Animator = /** @class */ (function () {
|
|
|
821
821
|
// Play/pause already instanced items, or create new instances
|
|
822
822
|
var instancedAnimationNames = this.animations.map(function (a) { return a.name; });
|
|
823
823
|
var instancedMachineNames = this.stateMachines.map(function (m) { return m.name; });
|
|
824
|
-
for (var i
|
|
824
|
+
for (var i = 0; i < animatables.length; i++) {
|
|
825
825
|
var aIndex = instancedAnimationNames.indexOf(animatables[i]);
|
|
826
826
|
var mIndex = instancedMachineNames.indexOf(animatables[i]);
|
|
827
827
|
if (aIndex >= 0 || mIndex >= 0) {
|