Skip to content

🎥 Make videos programmatically with React

Revert "Update index.tsx"

Jonny Burger0a2d66c549f3
diff --git a/packages/core/src/sequencing/index.tsx b/packages/core/src/sequencing/index.tsx
index abd1e18564..cae15919f9 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) + Math.max(0, from);
+ const actualFrom = (parentSequence?.from ?? 0) + from;
if (layout !== 'absolute-fill' && layout !== 'none') {
throw new TypeError(