fix: waveform container now expands with zoom for horizontal scrolling

This commit is contained in:
2025-11-19 10:42:11 +01:00
parent b8d4053cbc
commit c7cb0b2504

View File

@@ -726,6 +726,9 @@ export function Track({
{/* Right: Waveform Area (Flexible Width) */} {/* Right: Waveform Area (Flexible Width) */}
<div <div
className="flex-1 relative bg-waveform-bg border-b border-l border-border" className="flex-1 relative bg-waveform-bg border-b border-l border-border"
style={{
minWidth: track.audioBuffer ? `${duration * zoom * 100}px` : undefined
}}
> >
{/* Delete Button - Top Right Overlay */} {/* Delete Button - Top Right Overlay */}
<button <button