🎥 Make videos programmatically with React
Fix short composition timeline backgrounds
JonnyBurger449db4452959
diff --git a/packages/studio/src/components/Timeline/TimelineDragHandler.tsx b/packages/studio/src/components/Timeline/TimelineDragHandler.tsxindex 363d25cade..8c262d1727 100644--- a/packages/studio/src/components/Timeline/TimelineDragHandler.tsx+++ b/packages/studio/src/components/Timeline/TimelineDragHandler.tsx@@ -391,7 +391,11 @@ const TimelineDragHandlerInner: React.FC = () => {}, []);return (- <div ref={ref} style={style} onPointerDown={onPointerDown}>+ <div+ ref={ref}+ style={{...style, minWidth: size?.width ?? 0}}+ onPointerDown={onPointerDown}+ ><div style={inner} className={VERTICAL_SCROLLBAR_CLASSNAME} /></div>);diff --git a/packages/studio/src/components/Timeline/TimelineExpandedKeyframeRow.tsx b/packages/studio/src/components/Timeline/TimelineExpandedKeyframeRow.tsxindex 9408fb30ca..a89386e2f4 100644--- a/packages/studio/src/components/Timeline/TimelineExpandedKeyframeRow.tsx+++ b/packages/studio/src/components/Timeline/TimelineExpandedKeyframeRow.tsx@@ -20,6 +20,7 @@ const rowClipper: React.CSSProperties = {boxSizing: 'border-box',marginLeft: -TIMELINE_PADDING,marginRight: -TIMELINE_PADDING,+ minWidth: `calc(100% + ${TIMELINE_PADDING * 2}px)`,overflow: 'hidden',paddingLeft: TIMELINE_PADDING,paddingRight: TIMELINE_PADDING,diff --git a/packages/studio/src/components/Timeline/TimelineSelection.tsx b/packages/studio/src/components/Timeline/TimelineSelection.tsxindex 3af7871f46..20862349be 100644--- a/packages/studio/src/components/Timeline/TimelineSelection.tsx+++ b/packages/studio/src/components/Timeline/TimelineSelection.tsx@@ -126,6 +126,7 @@ export const getTimelineSelectedTrackHighlightStyle = (position: 'absolute',top: 0,width: timelineWidth,+ minWidth: `calc(100% + ${TIMELINE_PADDING * 2}px)`,});export const getTimelineRowHighlightBackground = ({diff --git a/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsx b/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsxindex a60015d1db..0001f2133e 100644--- a/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsx+++ b/packages/studio/src/components/Timeline/TimelineTimeIndicators.tsx@@ -401,6 +401,7 @@ const TimelineTimeIndicatorsInner = React.memo<{return {...container,width: windowWidth,+ minWidth: '100%',overflow: 'hidden',pointerEvents: 'none',};