diff options
| author | Maze Winther <mazewinther@gmail.com> | 2025-08-15 02:12:16 +0200 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2025-08-15 02:12:16 +0200 |
| commit | 7f91c9ca00cd51bea1cd1e97eeb3c58b7e7a1bae (patch) | |
| tree | 25c6cddf67e3227d99c2c28f71496851962f1f45 /apps/web/src/components/editor/timeline | |
| parent | 5e8a489a147c148b6495a6a25fb4dd9725e6fca6 (diff) | |
| parent | c3f3345d7b1ac820b411a5adbca3172378642953 (diff) | |
| download | opencut-7f91c9ca00cd51bea1cd1e97eeb3c58b7e7a1bae.tar.gz | |
Merge branch 'staging' of https://github.com/mazeincoding/AppCut into staging
Diffstat (limited to 'apps/web/src/components/editor/timeline')
| -rw-r--r-- | apps/web/src/components/editor/timeline/index.tsx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/web/src/components/editor/timeline/index.tsx b/apps/web/src/components/editor/timeline/index.tsx index d8261d9b..34d38234 100644 --- a/apps/web/src/components/editor/timeline/index.tsx +++ b/apps/web/src/components/editor/timeline/index.tsx @@ -22,8 +22,8 @@ import { ZoomOut, Bookmark, Eye, - MicOff, - Mic, + VolumeOff, + Volume2, } from "lucide-react"; import { Tooltip, @@ -41,8 +41,10 @@ import { useTimelineStore } from "@/stores/timeline-store"; import { useMediaStore } from "@/stores/media-store"; import { usePlaybackStore } from "@/stores/playback-store"; import { useProjectStore } from "@/stores/project-store"; + import { useTimelineZoom } from "@/hooks/use-timeline-zoom"; import { processMediaFiles } from "@/lib/media-processing"; + import { toast } from "sonner"; import { useState, useRef, useEffect, useCallback } from "react"; import { TimelineTrackContent } from "./timeline-track"; @@ -803,12 +805,12 @@ export function Timeline() { > <div className="flex items-center justify-end flex-1 min-w-0 gap-2"> {track.muted ? ( - <MicOff + <VolumeOff className="h-4 w-4 text-destructive cursor-pointer" onClick={() => toggleTrackMute(track.id)} /> ) : ( - <Mic + <Volume2 className="h-4 w-4 text-muted-foreground cursor-pointer" onClick={() => toggleTrackMute(track.id)} /> |
