fix(timeline): 無効クリップのラベル色を保持する (#1190)

This commit is contained in:
Ikki Nishihara committed 2026-10-12 10:14:55 +09:00
1 parent 247464b54a
commit f6248ddf5d
1 file changed
+2 -1
+2 -1
View File
@@ -790,7 +790,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 {