summaryrefslogtreecommitdiff
path: root/apps/web/src/components
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-15 06:05:13 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-15 06:05:13 +0200
commiteb28942dab4b2efe73c6be10ad1defa520f7790a (patch)
treeb0fa70eff0d8961273171455390dd2cf4776df46 /apps/web/src/components
parent68f175d3be96c000d834bbdea6eda15316c9da27 (diff)
downloadopencut-eb28942dab4b2efe73c6be10ad1defa520f7790a.tar.gz
fix: audio waveform height in timeline
Diffstat (limited to 'apps/web/src/components')
-rw-r--r--apps/web/src/components/editor/panels/timeline/audio-waveform.tsx2
-rw-r--r--apps/web/src/components/editor/panels/timeline/timeline-element.tsx2
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` }}
>
- <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>