add --bpm flag

This commit is contained in:
🪞👃🪞 2025-01-02 16:38:04 +01:00
parent 42e2ef2a50
commit 94491a323a
11 changed files with 78 additions and 57 deletions

View file

@ -131,20 +131,16 @@ render!(Tui: (self: Groovebox) => {
})),
),
Bsp::n(
Bsp::e(
Fixed::y(1, SamplerStatus(&self.sampler, note_pt)),
MidiEditStatus(&self.editor),
lay!(
Align::w(Fixed::y(1, SamplerStatus(&self.sampler, note_pt))),
Align::x(Fixed::y(1, MidiEditStatus(&self.editor))),
),
Bsp::w(
Fixed::x(pool_w, Align::e(Fill::y(PoolView(&self.pool)))),
Fill::xy(Bsp::e(
Fixed::x(sampler_w, sampler),
Bsp::s(
selector,
&self.editor,
),
),
)
Fixed::x(sampler_w, Push::y(3, sampler)),
Bsp::s(selector, &self.editor),
)),
),
)
)