diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-07-10 14:30:12 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-07-10 14:30:12 +0200 |
| commit | 2fe67febd6bb1d027bf5ca79c3b7e612649ae21c (patch) | |
| tree | 79fb1ebad29186cb2b943cddcaf45e526e8ff216 /apps/web/src/components/editor/timeline.tsx | |
| parent | 3a34485cc7333dce462c29716718f7671a996ec2 (diff) | |
| download | opencut-2fe67febd6bb1d027bf5ca79c3b7e612649ae21c.tar.gz | |
complete 1459cd
Diffstat (limited to 'apps/web/src/components/editor/timeline.tsx')
| -rw-r--r-- | apps/web/src/components/editor/timeline.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx index f2d24ffc..ee56cbe5 100644 --- a/apps/web/src/components/editor/timeline.tsx +++ b/apps/web/src/components/editor/timeline.tsx @@ -68,6 +68,7 @@ export function Timeline() { splitElement, splitAndKeepLeft, splitAndKeepRight, + toggleTrackMute, separateAudio, undo, redo, @@ -1087,6 +1088,11 @@ export function Timeline() { </div> </ContextMenuTrigger> <ContextMenuContent> + <ContextMenuItem + onClick={() => toggleTrackMute(track.id)} + > + {track.muted ? "Unmute Track" : "Mute Track"} + </ContextMenuItem> <ContextMenuItem> Track settings (soon) </ContextMenuItem> |
