wip: reenable sequencer, pt.2

This commit is contained in:
🪞👃🪞 2024-09-19 02:36:55 +03:00
parent 7063ae90d1
commit e1eef9e2e9
2 changed files with 59 additions and 78 deletions

View file

@ -80,8 +80,8 @@ impl Content for ArrangerStandalone<Tui> {
add(&self.transport)?;
if let Some(direction) = self.show_sequencer {
add(&Split::new(direction, |add|{
add(&self.arranger)?;
add(&Min::Y(10, self.arranger.sequencer().map(
add(&Shrink::Y(20, &self.arranger as &dyn Widget<Engine = Tui>))?;
add(&Min::Y(20, self.arranger.sequencer().map(
|x|x as &dyn Widget<Engine = Tui>
)))?;
Ok(())