@remotion/studio 4.0.302 → 4.0.303

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.
@@ -1,6 +1,6 @@
1
1
 
2
2
  
3
- > @remotion/studio@4.0.302 make /Users/jonathanburger/remotion/packages/studio
3
+ > @remotion/studio@4.0.303 make /Users/jonathanburger/remotion/packages/studio
4
4
  > tsc -d && bun --env-file=../.env.bundle bundle.ts
5
5
 
6
- [103.03ms] Generated.
6
+ [58.62ms] Generated.
package/dist/Studio.js CHANGED
@@ -13,6 +13,7 @@ const getServerDisconnectedDomElement = () => {
13
13
  return document.getElementById('server-disconnected-overlay');
14
14
  };
15
15
  const Studio = ({ rootComponent, readOnly }) => {
16
+ var _a;
16
17
  (0, react_1.useLayoutEffect)(() => {
17
18
  window.remotion_isStudio = true;
18
19
  window.remotion_isReadOnlyStudio = readOnly;
@@ -25,7 +26,7 @@ const Studio = ({ rootComponent, readOnly }) => {
25
26
  (0, react_1.useLayoutEffect)(() => {
26
27
  (0, inject_css_1.injectCSS)();
27
28
  }, []);
28
- return ((0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRoot, { logLevel: window.remotion_logLevel, numberOfAudioTags: window.remotion_numberOfAudioTags, onlyRenderComposition: null, currentCompositionMetadata: null, children: (0, jsx_runtime_1.jsxs)(EditorContexts_1.EditorContexts, { readOnlyStudio: readOnly, children: [(0, jsx_runtime_1.jsx)(Editor_1.Editor, { readOnlyStudio: readOnly, Root: rootComponent }), readOnly
29
+ return ((0, jsx_runtime_1.jsx)(remotion_1.Internals.RemotionRoot, { logLevel: window.remotion_logLevel, numberOfAudioTags: window.remotion_numberOfAudioTags, onlyRenderComposition: null, currentCompositionMetadata: null, audioLatencyHint: (_a = window.remotion_audioLatencyHint) !== null && _a !== void 0 ? _a : 'interactive', children: (0, jsx_runtime_1.jsxs)(EditorContexts_1.EditorContexts, { readOnlyStudio: readOnly, children: [(0, jsx_runtime_1.jsx)(Editor_1.Editor, { readOnlyStudio: readOnly, Root: rootComponent }), readOnly
29
30
  ? null
30
31
  : (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(ServerDisconnected_1.ServerDisconnected, {}), getServerDisconnectedDomElement())] }) }));
31
32
  };