Skip to content

Commit ee7b8f6

Browse files
vanceingallsclaude
andcommitted
fix(studio): a frame-wide audio clip fills in its waveform's colour
With no waveform mounted at the frame tier, a long film's sound lane read as empty at fit zoom. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 1cf6411 commit ee7b8f6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎packages/studio/src/styles/components.css‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@
338338
0 8px 24px var(--timeline-clip-shadow-dragging);
339339
}
340340

341+
/* A clip too narrow for a waveform (the frame tier) draws none; its content box, above any theme's pill
342+
layer, fills in the bars' colour so a long film's sound still reads at fit zoom. */
343+
.timeline-clip.is-audio[data-ladder="frame"]:not([data-audio-muted]) .timeline-clip__content {
344+
background-color: rgba(var(--timeline-waveform-bar-rgb), 0.5);
345+
}
346+
341347
/* Mute greys the pill in place. Hot path: no transition. */
342348
.timeline-clip.is-audio[data-clip-hidden="true"],
343349
.timeline-clip.is-audio[data-audio-muted="true"] {

0 commit comments

Comments
 (0)