mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
arranger: clip numbers
This commit is contained in:
parent
5ff7e32a46
commit
8b59658015
2 changed files with 4 additions and 4 deletions
|
|
@ -52,9 +52,9 @@ impl ArrangerStandalone {
|
|||
}
|
||||
for _ in 0..args.scenes {
|
||||
let scene = app.arranger.scene_add(None)?;
|
||||
for i in 0..args.tracks {
|
||||
scene.clips[i] = Some(i);
|
||||
}
|
||||
//for i in 0..args.tracks {
|
||||
//scene.clips[i] = Some(i);
|
||||
//}
|
||||
}
|
||||
Ok(app)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -241,7 +241,7 @@ impl<'a> Render for SceneClip<'a> {
|
|||
if let Some(phrase) = track.phrases.get(*clip) {
|
||||
let phrase = phrase.read().unwrap();
|
||||
let name = phrase.name.read().unwrap();
|
||||
name.blit(buf, area.x + 1, area.y, style)?;
|
||||
format!("{clip:02} {name}").blit(buf, area.x + 1, area.y, style)?;
|
||||
fill_bg(buf, area, if track.sequence == Some(*clip) {
|
||||
Nord::PLAYING
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue