@remotion/studio 4.0.458 → 4.0.459
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.
|
@@ -10,6 +10,13 @@ const drawBars = (canvas, peaks, color, volume, width) => {
|
|
|
10
10
|
}
|
|
11
11
|
const { height } = canvas;
|
|
12
12
|
const w = canvas.width;
|
|
13
|
+
// Skip drawing when the target canvas has not been laid out yet.
|
|
14
|
+
// `createImageData(0, h)` / `(w, 0)` throws a DOMException, which
|
|
15
|
+
// surfaces in Studio's console for compositions with many audio
|
|
16
|
+
// sequences — some segments are 0 px wide at certain zoom levels.
|
|
17
|
+
if (w === 0 || height === 0) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
13
20
|
ctx.clearRect(0, 0, w, height);
|
|
14
21
|
if (volume === 0)
|
|
15
22
|
return;
|
|
@@ -23546,6 +23546,9 @@ var drawBars = (canvas, peaks, color, volume, width) => {
|
|
|
23546
23546
|
}
|
|
23547
23547
|
const { height } = canvas;
|
|
23548
23548
|
const w = canvas.width;
|
|
23549
|
+
if (w === 0 || height === 0) {
|
|
23550
|
+
return;
|
|
23551
|
+
}
|
|
23549
23552
|
ctx.clearRect(0, 0, w, height);
|
|
23550
23553
|
if (volume === 0)
|
|
23551
23554
|
return;
|
package/dist/esm/internals.mjs
CHANGED
|
@@ -23565,6 +23565,9 @@ var drawBars = (canvas, peaks, color, volume, width) => {
|
|
|
23565
23565
|
}
|
|
23566
23566
|
const { height } = canvas;
|
|
23567
23567
|
const w = canvas.width;
|
|
23568
|
+
if (w === 0 || height === 0) {
|
|
23569
|
+
return;
|
|
23570
|
+
}
|
|
23568
23571
|
ctx.clearRect(0, 0, w, height);
|
|
23569
23572
|
if (volume === 0)
|
|
23570
23573
|
return;
|
|
@@ -24157,6 +24157,9 @@ var drawBars = (canvas, peaks, color, volume, width) => {
|
|
|
24157
24157
|
}
|
|
24158
24158
|
const { height } = canvas;
|
|
24159
24159
|
const w = canvas.width;
|
|
24160
|
+
if (w === 0 || height === 0) {
|
|
24161
|
+
return;
|
|
24162
|
+
}
|
|
24160
24163
|
ctx.clearRect(0, 0, w, height);
|
|
24161
24164
|
if (volume === 0)
|
|
24162
24165
|
return;
|
package/dist/esm/renderEntry.mjs
CHANGED
|
@@ -209,7 +209,7 @@ var renderContent = (Root) => {
|
|
|
209
209
|
renderToDOM(/* @__PURE__ */ jsx("div", {
|
|
210
210
|
children: /* @__PURE__ */ jsx(DelayedSpinner, {})
|
|
211
211
|
}));
|
|
212
|
-
import("./chunk-
|
|
212
|
+
import("./chunk-0njpenna.js").then(({ StudioInternals }) => {
|
|
213
213
|
window.remotion_isStudio = true;
|
|
214
214
|
window.remotion_isReadOnlyStudio = true;
|
|
215
215
|
window.remotion_inputProps = "{}";
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/studio"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/studio",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.459",
|
|
7
7
|
"description": "APIs for interacting with the Remotion Studio",
|
|
8
8
|
"main": "dist",
|
|
9
9
|
"sideEffects": false,
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"semver": "7.5.3",
|
|
29
|
-
"remotion": "4.0.
|
|
30
|
-
"@remotion/player": "4.0.
|
|
31
|
-
"@remotion/media-utils": "4.0.
|
|
32
|
-
"@remotion/renderer": "4.0.
|
|
33
|
-
"@remotion/web-renderer": "4.0.
|
|
34
|
-
"@remotion/studio-shared": "4.0.
|
|
35
|
-
"@remotion/zod-types": "4.0.
|
|
29
|
+
"remotion": "4.0.459",
|
|
30
|
+
"@remotion/player": "4.0.459",
|
|
31
|
+
"@remotion/media-utils": "4.0.459",
|
|
32
|
+
"@remotion/renderer": "4.0.459",
|
|
33
|
+
"@remotion/web-renderer": "4.0.459",
|
|
34
|
+
"@remotion/studio-shared": "4.0.459",
|
|
35
|
+
"@remotion/zod-types": "4.0.459",
|
|
36
36
|
"mediabunny": "1.42.0",
|
|
37
37
|
"memfs": "3.4.3",
|
|
38
38
|
"source-map": "0.7.3",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"react": "19.2.3",
|
|
44
44
|
"react-dom": "19.2.3",
|
|
45
45
|
"@types/semver": "^7.3.4",
|
|
46
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
46
|
+
"@remotion/eslint-config-internal": "4.0.459",
|
|
47
47
|
"eslint": "9.19.0",
|
|
48
48
|
"@typescript/native-preview": "7.0.0-dev.20260217.1"
|
|
49
49
|
},
|