mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-04-04 05:10:44 +02:00
per-track reset
This commit is contained in:
parent
2989c79fd0
commit
63b5eb3740
4 changed files with 17 additions and 6 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue