Skip to content

🎥 Make videos programmatically with React

@remotion/studio: Show trimmed media extent during timeline drag

JonnyBurgera0ab311894c7
diff --git a/packages/studio/src/components/Timeline/TimelineSequence.tsx b/packages/studio/src/components/Timeline/TimelineSequence.tsx
index 8f603841bc..7fe2e75a84 100644
--- a/packages/studio/src/components/Timeline/TimelineSequence.tsx
+++ b/packages/studio/src/components/Timeline/TimelineSequence.tsx
@@ -1342,6 +1342,7 @@ const TimelineSequenceInner: React.FC<{
(windowWidth - TIMELINE_PADDING * 2) / video.durationInFrames;
const mediaOutline = (() => {
if (
+ activeTrimEdge === null ||
(s.type !== 'audio' && s.type !== 'video') ||
s.loopDisplay ||
s.frozenFrame !== null ||