mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
IT BOPS
This commit is contained in:
parent
0ba14bf2da
commit
3ba5e253b0
5 changed files with 120 additions and 59 deletions
|
|
@ -60,7 +60,7 @@ impl Launcher {
|
|||
monitoring: true,
|
||||
recording: false,
|
||||
overdub: true,
|
||||
cursor: (1, 1),
|
||||
cursor: (2, 2),
|
||||
position: 0,
|
||||
scenes: scenes.unwrap_or_else(||vec![Scene::new(&"Scene 1", &[None])]),
|
||||
tracks: if let Some(tracks) = tracks { tracks } else { vec![
|
||||
|
|
@ -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 - 1;
|
||||
).draw()?.height;
|
||||
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue