Skip to content

🎥 Make videos programmatically with React

Merge remote-tracking branch 'origin/main' into cursor/912f97fe

JonnyBurger94ace1350820
diff --cc packages/studio/src/components/Timeline/TimelineSequence.tsx
index 7a20134af3,a5270a59ee..ab0954108d
--- a/packages/studio/src/components/Timeline/TimelineSequence.tsx
+++ b/packages/studio/src/components/Timeline/TimelineSequence.tsx
@@@ -256,6 -329,61 +332,62 @@@ const TimelineSequenceCurrentFrame: Rea
/>
</div>
) : null}
+ </>
+ );
+
+ return (
+ <div
+ ref={ref}
+ {...{[TIMELINE_MARQUEE_ITEM_ATTR]: true}}
+ style={actualStyle}
+ title={s.displayName}
++ onPointerDownCapture={onPointerDownCapture}
+ onPointerDown={selectable ? onPointerDown : undefined}
+ onDoubleClick={onDoubleClick}
+ >
+ {negativeStart ? (
+ <>
+ <TimelineSequenceNegativeStart
+ left={negativeStart.left}
+ width={negativeStart.width}
+ leftEdgeVisible={leftEdgeVisible}
+ clipped={negativeStartClipped}
+ />
+ <div
+ style={{
+ background: style.background,
+ border: style.border,
+ borderBottomLeftRadius: 0,
+ borderBottomRightRadius: style.borderBottomRightRadius,
+ borderLeft: 'none',
+ borderRightColor: style.borderRightColor,
+ borderTopLeftRadius: 0,
+ borderTopRightRadius: style.borderTopRightRadius,
+ boxSizing: 'border-box',
+ height: '100%',
+ left: negativeStartEnd,
+ overflow: 'hidden',
+ position: 'absolute',
+ top: 0,
+ width: `calc(100% - ${negativeStartEnd}px)`,
+ }}
+ >
+ <div
+ style={{
+ height: '100%',
+ left: -negativeStartEnd,
+ position: 'absolute',
+ top: 0,
+ width: style.width,
+ }}
+ >
+ {content}
+ </div>
+ </div>
+ </>
+ ) : (
+ content
+ )}
</div>
);
};