summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/timeline-clip.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-06-30 19:58:36 +0200
committerMaze Winther <mazewinther@gmail.com>2025-06-30 19:58:36 +0200
commit09373eb4a3f792d96d97d81f4fb86539d76e5702 (patch)
treeadd2d5eee3b5922e0291f905ab77eb48f244596a /apps/web/src/components/editor/timeline-clip.tsx
parentcd30c205b4019fb38371ced956abe55b47054433 (diff)
downloadopencut-09373eb4a3f792d96d97d81f4fb86539d76e5702.tar.gz
feat: implement project management features with storage integration, including project creation, deletion, and renaming dialogs
Diffstat (limited to 'apps/web/src/components/editor/timeline-clip.tsx')
-rw-r--r--apps/web/src/components/editor/timeline-clip.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/web/src/components/editor/timeline-clip.tsx b/apps/web/src/components/editor/timeline-clip.tsx
index b9d3b9a6..9b5f20f6 100644
--- a/apps/web/src/components/editor/timeline-clip.tsx
+++ b/apps/web/src/components/editor/timeline-clip.tsx
@@ -34,7 +34,6 @@ export function TimelineClip({
track,
zoomLevel,
isSelected,
- onContextMenu,
onClipMouseDown,
onClipClick,
}: TimelineClipProps) {
@@ -299,7 +298,7 @@ export function TimelineClip({
)} ${isSelected ? "ring-2 ring-primary ring-offset-1" : ""}`}
onClick={(e) => onClipClick && onClipClick(e, clip)}
onMouseDown={handleClipMouseDown}
- onContextMenu={(e) => onContextMenu && onContextMenu(e, clip.id)}
+ onContextMenu={(e) => onClipMouseDown && onClipMouseDown(e, clip)}
>
<div className="absolute inset-1 flex items-center p-1">
{renderClipContent()}