From 9b07f28995e3a14216a343aa51935c86e92ea681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 19 Nov 2025 13:02:38 +0100 Subject: [PATCH] fix: use DEFAULT_TRACK_HEIGHT constant for consistent track heights MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Import DEFAULT_TRACK_HEIGHT and COLLAPSED_TRACK_HEIGHT from types - Use DEFAULT_TRACK_HEIGHT (340px) instead of hardcoded 240px fallback - Ensures all tracks have the same height as the first track - Matches the height used when creating tracks 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/tracks/TrackList.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/tracks/TrackList.tsx b/components/tracks/TrackList.tsx index 96d55aa..f3e6ceb 100644 --- a/components/tracks/TrackList.tsx +++ b/components/tracks/TrackList.tsx @@ -7,6 +7,7 @@ import { Track } from './Track'; import { TrackExtensions } from './TrackExtensions'; import { ImportTrackDialog } from './ImportTrackDialog'; import type { Track as TrackType } from '@/types/track'; +import { DEFAULT_TRACK_HEIGHT, COLLAPSED_TRACK_HEIGHT } from '@/types/track'; import { createEffect, type EffectType, EFFECT_NAMES } from '@/lib/audio/effects/chain'; import { AutomationLane } from '@/components/automation/AutomationLane'; import type { AutomationPoint as AutomationPointType } from '@/types/automation'; @@ -210,7 +211,7 @@ export function TrackList({
{/* Waveform - Takes remaining space */}