Skip to content

🎥 Make videos programmatically with React

Separate outgoing trims from incoming roll targets

JonnyBurgerfb8849882c5e
diff --git a/packages/studio/src/components/Timeline/TimelineSequence.tsx b/packages/studio/src/components/Timeline/TimelineSequence.tsx
index de2dd137fb..171855d117 100644
--- a/packages/studio/src/components/Timeline/TimelineSequence.tsx
+++ b/packages/studio/src/components/Timeline/TimelineSequence.tsx
@@ -2447,7 +2447,13 @@ const TimelineSequenceLayoutInner: React.FC<{
position: 'absolute',
left: visibleLayout.media?.left ?? 0,
width: visibleLayout.media?.width ?? 0,
- top: 0,
+ // The outgoing trim occupies the upper half of this boundary.
+ top:
+ isTransitionSeriesSequence(s) &&
+ sceneRange !== null &&
+ sceneRange.transitionInEnd !== null
+ ? layerHeight / 2
+ : 0,
bottom: 0,
pointerEvents: 'none',
}