Skip to content

The open-source CapCut alternative

fix: changed mute track icon to more understandable ones (#550)

vadi25defff2fc4697
diff --git a/apps/web/src/components/editor/timeline/index.tsx b/apps/web/src/components/editor/timeline/index.tsx
index d8261d9b..c48075d1 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,
@@ -803,12 +803,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)}
/>