🎥 Make videos programmatically with React
Update index.tsx
Jonny Burger5fb1dc8aa94c
diff --git a/packages/core/src/sequencing/index.tsx b/packages/core/src/sequencing/index.tsxindex cae15919f9..abd1e18564 100644--- a/packages/core/src/sequencing/index.tsx+++ b/packages/core/src/sequencing/index.tsx@@ -30,7 +30,7 @@ export const Sequence: React.FC<{const [id] = useState(() => String(Math.random()));const parentSequence = useContext(SequenceContext);const {isThumbnail, rootId} = useContext(TimelineContext);- const actualFrom = (parentSequence?.from ?? 0) + from;+ const actualFrom = (parentSequence?.from ?? 0) + Math.max(0, from);if (layout !== 'absolute-fill' && layout !== 'none') {throw new TypeError(