motion-dom 14.7.0 → 14.7.1
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/cjs/index.js +10 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/animation/waapi/transforms/TransformAnimation.mjs +1 -0
- package/dist/es/animation/waapi/transforms/TransformAnimation.mjs.map +1 -1
- package/dist/es/animation/waapi/transforms/groups.mjs.map +1 -1
- package/dist/es/projection/node/create-projection-node.mjs +9 -1
- package/dist/es/projection/node/create-projection-node.mjs.map +1 -1
- package/dist/motion-dom.dev.js +10 -1
- package/dist/motion-dom.js +1 -1
- package/package.json +2 -2
package/dist/motion-dom.dev.js
CHANGED
|
@@ -4049,6 +4049,7 @@
|
|
|
4049
4049
|
built = new Map();
|
|
4050
4050
|
stop();
|
|
4051
4051
|
tracks.forEach((track) => track.state === "running" && track.js?.start());
|
|
4052
|
+
return true;
|
|
4052
4053
|
},
|
|
4053
4054
|
};
|
|
4054
4055
|
transformGroups.set(element, group);
|
|
@@ -7342,7 +7343,15 @@
|
|
|
7342
7343
|
}
|
|
7343
7344
|
}
|
|
7344
7345
|
}
|
|
7345
|
-
|
|
7346
|
+
/**
|
|
7347
|
+
* Move accelerated transforms back to the main thread. The WAAPI animation
|
|
7348
|
+
* hid startUpdate()'s reset of rotations, skews and z, and moving off it
|
|
7349
|
+
* writes the whole transform back, so reset them again before this node
|
|
7350
|
+
* is measured.
|
|
7351
|
+
*/
|
|
7352
|
+
const demoteTransforms = (node) => node.instance &&
|
|
7353
|
+
transformGroups.get(node.instance)?.demote() &&
|
|
7354
|
+
node.resetSkewAndRotation();
|
|
7346
7355
|
function cancelTreeOptimisedTransformAnimations(projectionNode) {
|
|
7347
7356
|
projectionNode.hasCheckedOptimisedAppear = true;
|
|
7348
7357
|
if (projectionNode.root === projectionNode)
|