mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
switch to rust 2024
This commit is contained in:
parent
74b497cf3a
commit
f87a5c14f9
7 changed files with 12 additions and 12 deletions
|
|
@ -820,7 +820,7 @@ impl App {
|
|||
// autocolor: new clip colors from scene and track color
|
||||
let color = track.color.base.mix(scene.color.base, 0.5);
|
||||
clip.write().unwrap().color = ItemColor::random_near(color, 0.2).into();
|
||||
if let Some(ref mut editor) = &mut self.project.editor {
|
||||
if let Some(editor) = &mut self.project.editor {
|
||||
editor.set_clip(Some(&clip));
|
||||
}
|
||||
*slot = Some(clip.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue