mirror of
https://github.com/storytold/filmcraft.git
synced 2026-10-14 19:26:59 -04:00
fix(timeline): 無効クリップのラベル色を保持する (#1190)
This commit is contained in:
1 parent
247464b54a
commit
f6248ddf5d
1 file changed
+2
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user