summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/timeline-element.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-07-11 01:37:42 +0200
committerMaze Winther <mazewinther@gmail.com>2025-07-11 01:37:42 +0200
commit6c19dbb6bbec9de52d1610dbdf54d81251e804b7 (patch)
treeeee6682295e53d5c75e61c5b177bb9878110df66 /apps/web/src/components/editor/timeline-element.tsx
parentd643a9a27767d001301f5d8cefc68f227582c446 (diff)
downloadopencut-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.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 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}