refactor sequencer processing

This commit is contained in:
🪞👃🪞 2024-06-29 23:29:41 +03:00
parent 2b4f28ae36
commit 82b5614040
4 changed files with 187 additions and 130 deletions

View file

@ -184,7 +184,7 @@ pub fn render (state: &Launcher, buf: &mut Buffer, mut area: Rect) -> Usually<Re
let mut y = y + 1;
y = y + LauncherGridView::new(
state, buf, Rect { x, y, width, height: 8 }, state.view.is_tracks()
).draw()?.height;
).draw()?.height - 1;
y = y + draw_section_sequencer(state, buf, Rect { x, y, width, height: 8 })?.height;
y = y + draw_section_chains(state, buf, Rect { x, y, width, height: 8 })?.height;
area.height = y;