@remotion/web-renderer 4.0.451 → 4.0.452
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 +10 -1
- package/package.json +10 -10
package/dist/esm/index.mjs
CHANGED
|
@@ -2059,6 +2059,8 @@ var calculateTransforms = ({
|
|
|
2059
2059
|
let elementComputedStyle = null;
|
|
2060
2060
|
let maskImageInfo = null;
|
|
2061
2061
|
while (parent) {
|
|
2062
|
+
const originalTransition = parent.style.transition;
|
|
2063
|
+
parent.style.transition = "none";
|
|
2062
2064
|
const computedStyle = getComputedStyle(parent);
|
|
2063
2065
|
if (parent === element) {
|
|
2064
2066
|
elementComputedStyle = computedStyle;
|
|
@@ -2101,6 +2103,12 @@ var calculateTransforms = ({
|
|
|
2101
2103
|
parentRef.style.transform = transform;
|
|
2102
2104
|
parentRef.style.scale = scale;
|
|
2103
2105
|
parentRef.style.rotate = rotate;
|
|
2106
|
+
parentRef.style.transition = originalTransition;
|
|
2107
|
+
});
|
|
2108
|
+
} else {
|
|
2109
|
+
const parentRef = parent;
|
|
2110
|
+
toReset.push(() => {
|
|
2111
|
+
parentRef.style.transition = originalTransition;
|
|
2104
2112
|
});
|
|
2105
2113
|
}
|
|
2106
2114
|
if (parent === rootElement) {
|
|
@@ -2688,9 +2696,10 @@ var drawBackground = async ({
|
|
|
2688
2696
|
const originalWebkitBackgroundClip = element.style.webkitBackgroundClip;
|
|
2689
2697
|
element.style.backgroundClip = "initial";
|
|
2690
2698
|
element.style.webkitBackgroundClip = "initial";
|
|
2699
|
+
const textLayerCutout = new DOMRect(boundingRect.left + parentOffsetLeft, boundingRect.top + parentOffsetTop, boundingRect.width, boundingRect.height);
|
|
2691
2700
|
const onlyBackgroundClipText = await createLayer({
|
|
2692
2701
|
element,
|
|
2693
|
-
cutout:
|
|
2702
|
+
cutout: textLayerCutout,
|
|
2694
2703
|
logLevel,
|
|
2695
2704
|
internalState,
|
|
2696
2705
|
scale,
|
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.452",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"scripts": {
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"@mediabunny/mp3-encoder": "1.39.2",
|
|
23
23
|
"@mediabunny/aac-encoder": "1.39.2",
|
|
24
24
|
"@mediabunny/flac-encoder": "1.39.2",
|
|
25
|
-
"@remotion/licensing": "4.0.
|
|
26
|
-
"remotion": "4.0.
|
|
25
|
+
"@remotion/licensing": "4.0.452",
|
|
26
|
+
"remotion": "4.0.452",
|
|
27
27
|
"mediabunny": "1.39.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@react-three/fiber": "9.2.0",
|
|
31
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
32
|
-
"@remotion/paths": "4.0.
|
|
33
|
-
"@remotion/player": "4.0.
|
|
34
|
-
"@remotion/media": "4.0.
|
|
35
|
-
"@remotion/shapes": "4.0.
|
|
36
|
-
"@remotion/three": "4.0.
|
|
37
|
-
"@remotion/transitions": "4.0.
|
|
31
|
+
"@remotion/eslint-config-internal": "4.0.452",
|
|
32
|
+
"@remotion/paths": "4.0.452",
|
|
33
|
+
"@remotion/player": "4.0.452",
|
|
34
|
+
"@remotion/media": "4.0.452",
|
|
35
|
+
"@remotion/shapes": "4.0.452",
|
|
36
|
+
"@remotion/three": "4.0.452",
|
|
37
|
+
"@remotion/transitions": "4.0.452",
|
|
38
38
|
"@types/three": "0.170.0",
|
|
39
39
|
"@typescript/native-preview": "7.0.0-dev.20260217.1",
|
|
40
40
|
"@vitejs/plugin-react": "4.3.4",
|