mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
bye sequencer
This commit is contained in:
parent
2165e5d45d
commit
316fe45b2a
12 changed files with 510 additions and 759 deletions
|
|
@ -73,7 +73,7 @@ impl<'a> SceneGridView<'a> {
|
|||
label.blit(self.buf, self.area.x + x2, self.area.y, Some(Style::default().bold()));
|
||||
for (i, clip) in scene.clips.iter().enumerate() {
|
||||
if let Some(clip) = clip {
|
||||
if let Some(phrase) = self.tracks[i].sequencer.phrases.get(*clip) {
|
||||
if let Some(phrase) = self.tracks[i].phrases.get(*clip) {
|
||||
let label = format!("{}", &phrase.name);
|
||||
label.blit(self.buf, self.area.x + x2, self.area.y + 1 + i as u16, None);
|
||||
x3 = x3.max(label.len() as u16)
|
||||
|
|
@ -186,7 +186,7 @@ impl<'a> SceneGridView<'a> {
|
|||
let clip = scene.clips.get(track);
|
||||
let index = index as u16;
|
||||
let label = if let Some(Some(clip)) = clip {
|
||||
if let Some(phrase) = self.tracks[track].sequencer.phrases.get(*clip) {
|
||||
if let Some(phrase) = self.tracks[track].phrases.get(*clip) {
|
||||
format!("⯈{}", phrase.name)
|
||||
} else {
|
||||
format!("????")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue