diff --git a/components/tracks/TrackList.tsx b/components/tracks/TrackList.tsx index da1bfd6..3038bea 100644 --- a/components/tracks/TrackList.tsx +++ b/components/tracks/TrackList.tsx @@ -1,7 +1,7 @@ 'use client'; import * as React from 'react'; -import { Plus, Upload, ChevronDown, ChevronRight, X } from 'lucide-react'; +import { Plus, Upload, ChevronDown, ChevronRight, X, Eye, EyeOff } from 'lucide-react'; import { Button } from '@/components/ui/Button'; import { Track } from './Track'; import { TrackExtensions } from './TrackExtensions'; @@ -438,21 +438,28 @@ export function TrackList({ {!track.collapsed && (
{/* Effects Header - Collapsible */} -
{ - onUpdateTrack(track.id, { effectsExpanded: !track.effectsExpanded }); - }} - > - {track.effectsExpanded ? ( - - ) : ( - - )} +
Effects ({track.effectChain.effects.length}) + + {/* Show/hide toggle - Positioned absolutely on the right */} +
{/* Effects Content - Collapsible, no inner container */}