Skip to content

🎥 Make videos programmatically with React

increase max timeline tracks

Jonny Burger5c1da4c8cd4d
diff --git a/packages/bundler/src/bundle.ts b/packages/bundler/src/bundle.ts
index 096d324ffc..345824a834 100644
--- a/packages/bundler/src/bundle.ts
+++ b/packages/bundler/src/bundle.ts
@@ -71,7 +71,7 @@ export const getConfig = ({
webpackOverride: options?.webpackOverride ?? ((f) => f),
onProgress,
enableCaching: options?.enableCaching ?? true,
- maxTimelineTracks: 15,
+ maxTimelineTracks: 90,
// For production, the variables are set dynamically
envVariables: {},
entryPoints: [],
diff --git a/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx b/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx
index dfbbf4e8f1..a326ab833e 100644
--- a/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx
+++ b/packages/cli/src/editor/components/Timeline/MaxTimelineTracks.tsx
@@ -3,7 +3,7 @@ import {TIMELINE_PADDING} from '../../helpers/timeline-layout';
export const MAX_TIMELINE_TRACKS =
typeof process.env.MAX_TIMELINE_TRACKS === 'undefined'
- ? 15
+ ? 90
: Number(process.env.MAX_TIMELINE_TRACKS);
export const MAX_TIMELINE_TRACKS_NOTICE_HEIGHT = 24;