fix: timeline element resizing

This commit is contained in:
Maze Winther
2025-07-17 23:51:12 +02:00
parent 499f06cb52
commit f492ac9aad
2 changed files with 13 additions and 1 deletions
@@ -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 = () => {