mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
wip: refresh mixer components
This commit is contained in:
parent
1dbc5d1bb7
commit
bc679ef8bd
16 changed files with 296 additions and 287 deletions
|
|
@ -157,7 +157,7 @@ impl<E: Engine> Arranger<E> {
|
|||
if let ArrangementFocus::Clip(track, scene) = self.arrangement.selected {
|
||||
let track_color = self.arrangement.tracks[track].color;
|
||||
let scene_color = self.arrangement.scenes[scene].color;
|
||||
track_color.mix(scene_color, 0.5).mix(ItemColor::random(), 0.5)
|
||||
track_color.mix(scene_color, 0.5).mix(ItemColor::random(), 0.25)
|
||||
} else {
|
||||
panic!("could not compute next color")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue