mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
now we talkin
This commit is contained in:
parent
1259176576
commit
2067004d4a
1 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue