mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-24 10:10:05 -06:00
fix(timeline): 波形をクリップ背景の暗い同系色で表示する (#1183)
(cherry picked from commit 5e1c985925)
This commit is contained in:
committed by
Brandon Thomas
parent
b8ff6b09ad
commit
5f05761ded
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user