From f492ac9aad81a26e7806ddfd433e11f1cd24c609 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Thu, 17 Jul 2025 23:51:12 +0200 Subject: fix: timeline element resizing --- apps/web/src/components/editor/timeline-element.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/web/src/components/editor/timeline-element.tsx') diff --git a/apps/web/src/components/editor/timeline-element.tsx b/apps/web/src/components/editor/timeline-element.tsx index 71b2cd26..d1212266 100644 --- a/apps/web/src/components/editor/timeline-element.tsx +++ b/apps/web/src/components/editor/timeline-element.tsx @@ -96,6 +96,8 @@ export function TimelineElement({ isBeingDragged && dragState.isDragging ? dragState.currentTime : element.startTime; + + // Element should always be positioned at startTime - trimStart only affects content, not position const elementLeft = elementStartTime * 50 * zoomLevel; const handleDeleteElement = () => { -- cgit v1.3.1