feat: selection box

This commit is contained in:
Maze Winther
2025-07-11 01:37:42 +02:00
parent d643a9a277
commit 6c19dbb6bb
4 changed files with 302 additions and 111 deletions
@@ -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}