🎥 Make videos programmatically with React
Merge pull request #12214 from remotion-dev/codex/show-layer-frame-numbers
Jonny Burger84e4d06d82a5
diff --cc packages/cli/src/config/index.tsindex 68e5812e43,43f5b29a4c..997ac7f117--- a/packages/cli/src/config/index.ts+++ b/packages/cli/src/config/index.ts@@@ -691,9 -692,14 +692,14 @@@ type FlatConfig = RemotionConfigObjectsetDefaultPremountInSeconds: (seconds: number) => void;/*** Show premounting indicators in the Studio timeline.- * @default true+ * @default false*/setShowPremounting: (show: boolean) => void;+ /**+ * Show the current frame number inside sequence layers in the Studio timeline.+ * @default false+ */+ setShowLayerFrameNumbers: (show: boolean) => void;/*** Set the coding agent used by Remotion Studio.*/diff --cc packages/studio/src/helpers/studio-runtime-config.tsindex 4b80f0fa43,b0197fd491..0221e140ef--- a/packages/studio/src/helpers/studio-runtime-config.ts+++ b/packages/studio/src/helpers/studio-runtime-config.ts@@@ -68,9 -69,13 +69,13 @@@ export const getStudioDefaultPremountIn};export const getStudioShowPremounting = () => {- return getStudioRuntimeConfig().showPremounting ?? true;+ return getStudioRuntimeConfig().showPremounting ?? false;};+ export const getStudioShowLayerFrameNumbers = () => {+ return getStudioRuntimeConfig().showLayerFrameNumbers;+ };+export const getStudioSequenceActivitySettings = () => {const config = getStudioRuntimeConfig();return {