now we talkin

This commit is contained in:
🪞👃🪞 2024-07-03 20:05:18 +03:00
parent 1259176576
commit 2067004d4a

View file

@ -42,8 +42,8 @@ render!(App |self, buf, area| {
let track = self.tracks.get(self.track_cursor - 1).unwrap();
y = y + ChainView { focused: self.section == 1, track: Some(track) }
.render(buf, Rect { x, y, width, height: height / 3 })?.height;
ChainView { focused: self.section == 1, track: Some(track) }
.render(buf, Rect { x, y: y + height - height / 3 - 1, width, height: height / 3 })?.height;
y = y + SequencerView {
focused: self.section == 2,
@ -55,7 +55,7 @@ render!(App |self, buf, area| {
time_zoom: self.time_zoom,
note_cursor: self.note_cursor,
note_start: self.note_start,
}.render(buf, Rect { x, y, width, height })?.height;
}.render(buf, Rect { x, y, width, height: height - height / 3 })?.height;
}
if let Some(ref modal) = self.modal {