fix: waveform container now expands with zoom for horizontal scrolling
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user