fix(timeline): 波形をクリップ背景の暗い同系色で表示する (#1183)

(cherry picked from commit 5e1c985925)
This commit is contained in:
Ikki Nishihara
2026-10-11 23:22:17 -04:00
committed by Brandon Thomas
parent b8ff6b09ad
commit 5f05761ded
+1 -1
View File
@@ -870,7 +870,7 @@ fn draw_clip(
}
// waveform (audio): rectified, lower 40 %
if kind == TrackKind::Audio && app.ui.timeline.show_waveforms && w > 3.0 {
draw_waveform(app, p, body, it, if inr { Color32::from_rgb(0xc7, 0xe9, 0xfa) } else { Color32::from_rgb(0x79, 0xc0, 0xf9) });
draw_waveform(app, p, body, it, Color32::from_rgb(fill.r() / 2, fill.g() / 2, fill.b() / 2));
}
let clip_p = p.with_clip_rect(body.shrink2(vec2(1.0, 0.0)).intersect(p.clip_rect()));
// name band