Skip to content

🎥 Make videos programmatically with React

Internal testbed: Fix negative start comparison fixture

JonnyBurger870a090da872
diff --git a/packages/example/src/TimelineNegativeFromResize/index.tsx b/packages/example/src/TimelineNegativeFromResize/index.tsx
index aa7672cc8c..323ccbff67 100644
--- a/packages/example/src/TimelineNegativeFromResize/index.tsx
+++ b/packages/example/src/TimelineNegativeFromResize/index.tsx
@@ -4,17 +4,19 @@ import {AbsoluteFill, Sequence} from 'remotion';
export const TimelineNegativeFromResize: React.FC = () => {
return (
- <AbsoluteFill style={{backgroundColor: '#202020'}} from={-1}>
- <Sequence
- name="Negative start"
- durationInFrames={36}
- style={{backgroundColor: 'black'}}
- >
- <Starburst rays={16} colors={['#ffdd00', '#ff8800']} />
- </Sequence>
+ <>
+ <AbsoluteFill style={{backgroundColor: '#202020'}} from={-1}>
+ <Sequence
+ name="Negative start"
+ durationInFrames={36}
+ style={{backgroundColor: 'black'}}
+ >
+ <Starburst rays={16} colors={['#ffdd00', '#ff8800']} />
+ </Sequence>
+ </AbsoluteFill>
<Sequence name="Zero start" durationInFrames={36}>
<div />
</Sequence>
- </AbsoluteFill>
+ </>
);
};