per-track reset

This commit is contained in:
🪞👃🪞 2024-07-05 20:14:49 +03:00
parent 2989c79fd0
commit 63b5eb3740
4 changed files with 17 additions and 6 deletions

View file

@ -45,12 +45,13 @@ render!(App |self, buf, area| {
.get(self.track_cursor - 1)
.unwrap();
let chain_area = Rect { x, y: y + height - height / 3 - 1, width, height: height / 3 };
ChainView {
focused: self.section == 1,
track: Some(track),
vertical: false,
}
.render(buf, Rect { x, y: y + height - height / 3 - 1, width, height: height / 3 })?.height;
.render(buf, chain_area)?;
let phrase = self.phrase();