fix: audio waveform height in timeline

This commit is contained in:
Maze Winther 2026-04-15 06:05:13 +02:00
parent 68f175d3be
commit eb28942dab
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ export function AudioWaveform({
async function load() {
let buffer = audioBuffer ?? null;
if (!buffer && audioUrl) {
if (!buffer && audioUrl) {
try {
const resp = await fetch(audioUrl);
const arrayBuffer = await resp.arrayBuffer();

View File

@ -575,7 +575,7 @@ function ElementInner({
)}
style={{ height: `${baseTrackHeight}px` }}
>
<div className="flex flex-1 min-h-0 items-center overflow-hidden">
<div className="flex flex-1 min-h-0 h-full items-center overflow-hidden">
<ElementContent element={element} track={track} />
</div>
</div>