🎥 Make videos programmatically with React
Update TimelineVideoInfo.tsx
Jonny Burgerfe74708f3c55
diff --git a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsxindex a454749e5f..d3732e7857 100644--- a/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx+++ b/packages/studio/src/components/Timeline/TimelineVideoInfo.tsx@@ -87,7 +87,7 @@ const calculateTimestampSlots = ({const ensureSlots = ({filledSlots,- naturalWidth: visualizationWidth,+ naturalWidth,fromSeconds,toSeconds,aspectRatio,@@ -101,7 +101,7 @@ const ensureSlots = ({const segmentDuration = toSeconds - fromSeconds;const timestampTargets = calculateTimestampSlots({- visualizationWidth,+ visualizationWidth: naturalWidth,fromSeconds,segmentDuration,aspectRatio,