wip: big flat pt.10, down to 33

This commit is contained in:
🪞👃🪞 2024-12-30 20:51:16 +01:00
parent d01aa7481b
commit a0175dabc8
17 changed files with 6 additions and 1362 deletions

View file

@ -143,7 +143,7 @@ render!(<Tui>|self:Groovebox|{
struct EditStatus<'a, T: Render<Tui>>(&'a Sampler, &'a MidiEditor, usize, T);
impl<'a, T: Render<Tui>> Content<Tui> for EditStatus<'a, T> {
fn content (&self) -> impl Render<Tui> {
fn content (&self) -> Option<impl Render<Tui>> {
Some(Split::n(false, 9, col!([
row!(|add|{
if let Some(sample) = &self.0.mapped[self.2] {