Skip to content

🎥 Make videos programmatically with React

Fix bugs sequence which was causing 1 extra frame

Shankhadeep Dey3ca836c9b99c
diff --git a/packages/core/src/sequencing/index.tsx b/packages/core/src/sequencing/index.tsx
index 8541058e71..bb1643e4ab 100644
--- a/packages/core/src/sequencing/index.tsx
+++ b/packages/core/src/sequencing/index.tsx
@@ -89,7 +89,7 @@ export const Sequence: React.FC<{
const content =
absoluteFrame < actualFrom
? null
- : absoluteFrame > actualFrom + durationInFrames
+ : absoluteFrame > actualFrom + durationInFrames - 1
? null
: children;