From eb28942dab4b2efe73c6be10ad1defa520f7790a Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 15 Apr 2026 06:05:13 +0200 Subject: [PATCH] fix: audio waveform height in timeline --- .../src/components/editor/panels/timeline/audio-waveform.tsx | 2 +- .../src/components/editor/panels/timeline/timeline-element.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/editor/panels/timeline/audio-waveform.tsx b/apps/web/src/components/editor/panels/timeline/audio-waveform.tsx index cbb19bd0..a481f1c2 100644 --- a/apps/web/src/components/editor/panels/timeline/audio-waveform.tsx +++ b/apps/web/src/components/editor/panels/timeline/audio-waveform.tsx @@ -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(); diff --git a/apps/web/src/components/editor/panels/timeline/timeline-element.tsx b/apps/web/src/components/editor/panels/timeline/timeline-element.tsx index 3ebd3efa..644dbc56 100644 --- a/apps/web/src/components/editor/panels/timeline/timeline-element.tsx +++ b/apps/web/src/components/editor/panels/timeline/timeline-element.tsx @@ -575,7 +575,7 @@ function ElementInner({ )} style={{ height: `${baseTrackHeight}px` }} > -
+