summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-17 23:51:12 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-17 23:51:12 +0200
commitf492ac9aad81a26e7806ddfd433e11f1cd24c609 (patch)
tree24b1cbf240c02fd357d3fa40a210028e547fa111 /apps/web/src/components/editor
parent499f06cb526e833450857315c06bed5a6db35a8f (diff)
downloadopencut-f492ac9aad81a26e7806ddfd433e11f1cd24c609.tar.gz
fix: timeline element resizing
Diffstat (limited to 'apps/web/src/components/editor')
-rw-r--r--apps/web/src/components/editor/timeline-element.tsx2
1 files changed, 2 insertions, 0 deletions
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 = () => {