From 5dadba9c9f7bbffa5c124c20cf7a48e56e33322a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 19 Nov 2025 10:52:14 +0100 Subject: [PATCH] fix: waveform fills viewport width when zoom is 1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modified the waveform minWidth calculation to only apply when zoom > 1, so the waveform fills the available viewport space at default zoom level instead of creating unnecessary horizontal scrolling. Changes: - minWidth only applied when zoom > 1 - At zoom = 1.0, waveform takes 100% of available space - Scrollbar only appears when actually zoomed in 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- components/tracks/Track.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/tracks/Track.tsx b/components/tracks/Track.tsx index 8aa0670..d363f72 100644 --- a/components/tracks/Track.tsx +++ b/components/tracks/Track.tsx @@ -729,7 +729,7 @@ export function Track({
1 ? `${duration * zoom * 100}px` : '100%' }} > {/* Delete Button - Top Right Overlay */}