FilmCraft: An open-source, nonlinear video editor written by scratch in pure Rust
fix(timeline): 無効クリップのラベル色を保持する (#1190)
Ikki Nishiharab8ff6b09adf5
diff --git a/crates/ui-egui/src/panels/timeline.rs b/crates/ui-egui/src/panels/timeline.rsindex 2351776cb..7ce9e8385 100644--- a/crates/ui-egui/src/panels/timeline.rs+++ b/crates/ui-egui/src/panels/timeline.rs@@ -819,7 +819,8 @@ fn draw_clip(let base = label_color(app, it.label);let inr = in_range(app, it);let fill = if !it.enabled {- t.disabled_clip_bg+ // Keep the configured label hue when disabled, with an opaque darker fill (#1190).+ Color32::from_rgb(base.r() / 2, base.g() / 2, base.b() / 2)} else if inr {lighten(base, 0.12)} else if selected {