diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-17 23:51:12 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-17 23:51:12 +0200 |
| commit | f492ac9aad81a26e7806ddfd433e11f1cd24c609 (patch) | |
| tree | 24b1cbf240c02fd357d3fa40a210028e547fa111 /apps/web/src/components | |
| parent | 499f06cb526e833450857315c06bed5a6db35a8f (diff) | |
| download | opencut-f492ac9aad81a26e7806ddfd433e11f1cd24c609.tar.gz | |
fix: timeline element resizing
Diffstat (limited to 'apps/web/src/components')
| -rw-r--r-- | apps/web/src/components/editor/timeline-element.tsx | 2 |
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 = () => {
|
