@remotion/web-renderer 4.0.401 → 4.0.402
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/esm/index.mjs +5 -2
- package/package.json +6 -6
package/dist/esm/index.mjs
CHANGED
|
@@ -1362,7 +1362,7 @@ var calculateTransforms = ({
|
|
|
1362
1362
|
if (!elementComputedStyle) {
|
|
1363
1363
|
throw new Error("Element computed style not found");
|
|
1364
1364
|
}
|
|
1365
|
-
const needs3DTransformViaWebGL = !totalMatrix.
|
|
1365
|
+
const needs3DTransformViaWebGL = !totalMatrix.is2D;
|
|
1366
1366
|
const needsMaskImage = maskImageInfo !== null;
|
|
1367
1367
|
return {
|
|
1368
1368
|
dimensions,
|
|
@@ -2817,13 +2817,16 @@ var processNode = async ({
|
|
|
2817
2817
|
});
|
|
2818
2818
|
}
|
|
2819
2819
|
if (precompositing.needs3DTransformViaWebGL) {
|
|
2820
|
-
|
|
2820
|
+
const t = handle3dTransform({
|
|
2821
2821
|
matrix: totalMatrix,
|
|
2822
2822
|
precomposeRect,
|
|
2823
2823
|
tempCanvas: drawable,
|
|
2824
2824
|
rectAfterTransforms,
|
|
2825
2825
|
internalState
|
|
2826
2826
|
});
|
|
2827
|
+
if (t) {
|
|
2828
|
+
drawable = t;
|
|
2829
|
+
}
|
|
2827
2830
|
}
|
|
2828
2831
|
const previousTransform = context.getTransform();
|
|
2829
2832
|
if (drawable) {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/web-renderer"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/web-renderer",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.402",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -18,14 +18,14 @@
|
|
|
18
18
|
"author": "Remotion <jonny@remotion.dev>",
|
|
19
19
|
"license": "UNLICENSED",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@remotion/licensing": "4.0.
|
|
22
|
-
"remotion": "4.0.
|
|
21
|
+
"@remotion/licensing": "4.0.402",
|
|
22
|
+
"remotion": "4.0.402",
|
|
23
23
|
"mediabunny": "1.27.3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
27
|
-
"@remotion/player": "4.0.
|
|
28
|
-
"@remotion/media": "4.0.
|
|
26
|
+
"@remotion/eslint-config-internal": "4.0.402",
|
|
27
|
+
"@remotion/player": "4.0.402",
|
|
28
|
+
"@remotion/media": "4.0.402",
|
|
29
29
|
"@typescript/native-preview": "7.0.0-dev.20260105.1",
|
|
30
30
|
"@vitejs/plugin-react": "4.1.0",
|
|
31
31
|
"@vitest/browser-playwright": "4.0.9",
|