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

This commit is contained in:
vadi25
2025-08-14 14:30:22 +02:00
committed by GitHub
parent 0274fb6626
commit defff2fc46
@@ -22,8 +22,8 @@ import {
ZoomOut, ZoomOut,
Bookmark, Bookmark,
Eye, Eye,
MicOff, VolumeOff,
Mic, Volume2,
} from "lucide-react"; } from "lucide-react";
import { import {
Tooltip, Tooltip,
@@ -803,12 +803,12 @@ export function Timeline() {
> >
<div className="flex items-center justify-end flex-1 min-w-0 gap-2"> <div className="flex items-center justify-end flex-1 min-w-0 gap-2">
{track.muted ? ( {track.muted ? (
<MicOff <VolumeOff
className="h-4 w-4 text-destructive cursor-pointer" className="h-4 w-4 text-destructive cursor-pointer"
onClick={() => toggleTrackMute(track.id)} onClick={() => toggleTrackMute(track.id)}
/> />
) : ( ) : (
<Mic <Volume2
className="h-4 w-4 text-muted-foreground cursor-pointer" className="h-4 w-4 text-muted-foreground cursor-pointer"
onClick={() => toggleTrackMute(track.id)} onClick={() => toggleTrackMute(track.id)}
/> />