duplicate loop

This commit is contained in:
🪞👃🪞 2024-07-05 11:07:50 +03:00
parent 768c2337e7
commit 2e26fc2eaa
5 changed files with 141 additions and 29 deletions

View file

@ -51,9 +51,7 @@ render!(App |self, buf, area| {
}
.render(buf, Rect { x, y: y + height - height / 3 - 1, width, height: height / 3 })?.height;
let phrase = self.phrase_id()
.map(|id|track.phrases.get(id))
.flatten();
let phrase = self.phrase();
let seq_area = SequencerView {
focused: self.section == 2,