diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-11 01:37:42 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-11 01:37:42 +0200 |
| commit | 6c19dbb6bbec9de52d1610dbdf54d81251e804b7 (patch) | |
| tree | eee6682295e53d5c75e61c5b177bb9878110df66 /apps/web/src/components/editor/timeline-element.tsx | |
| parent | d643a9a27767d001301f5d8cefc68f227582c446 (diff) | |
| download | opencut-6c19dbb6bbec9de52d1610dbdf54d81251e804b7.tar.gz | |
feat: selection box
Diffstat (limited to 'apps/web/src/components/editor/timeline-element.tsx')
| -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 1cd22c74..ee9445f3 100644 --- a/apps/web/src/components/editor/timeline-element.tsx +++ b/apps/web/src/components/editor/timeline-element.tsx @@ -339,6 +339,8 @@ export function TimelineElement({ left: `${elementLeft}px`, width: `${elementWidth}px`, }} + data-element-id={element.id} + data-track-id={track.id} onMouseMove={resizing ? handleResizeMove : undefined} onMouseUp={resizing ? handleResizeEnd : undefined} onMouseLeave={resizing ? handleResizeEnd : undefined} |
