feat: add active state to automation and effects toggle buttons

- Added showEffects prop to TrackControls interface
- Effects button (E) now shows active state with primary color when toggled
- Automation button (A) already had active state functionality
- Both buttons now provide clear visual feedback when active
- Updated Track component to pass showEffects state to TrackControls

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-19 00:25:33 +01:00
parent 8ec3505581
commit 935ab85c08
2 changed files with 10 additions and 2 deletions

View File

@@ -656,6 +656,7 @@ export function Track({
isSolo={track.solo}
isRecordEnabled={track.recordEnabled}
showAutomation={track.automation?.showAutomation}
showEffects={track.showEffects}
isRecording={isRecording}
onVolumeChange={onVolumeChange}
onPanChange={onPanChange}