Skip to content

🎥 Make videos programmatically with React

Update get-timeline-sequence-layout.ts

Jonny Burger1bd60b79106c
diff --git a/packages/cli/src/editor/helpers/get-timeline-sequence-layout.ts b/packages/cli/src/editor/helpers/get-timeline-sequence-layout.ts
index 1718b371dc..a3c548fed7 100644
--- a/packages/cli/src/editor/helpers/get-timeline-sequence-layout.ts
+++ b/packages/cli/src/editor/helpers/get-timeline-sequence-layout.ts
@@ -39,6 +39,6 @@ export const getTimelineSequenceLayout = ({
negativeMarginLeft;
return {
marginLeft: Math.round(Math.max(marginLeft, 0)),
- width: Math.round(width),
+ width: Math.floor(width),
};
};