more updates to space and transport

This commit is contained in:
🪞👃🪞 2024-12-30 14:31:00 +01:00
parent 9fa858f226
commit 304ce35cbb
6 changed files with 139 additions and 140 deletions

View file

@ -100,8 +100,8 @@ impl ArrangerTui {
}
}
render!(<Tui>|self: ArrangerTui|{
let play = Fixed::wh(5, 2, PlayPause(self.clock.is_rolling()));
let transport = TransportView::from((self, Some(ItemPalette::from(TuiTheme::g(96))), true));
let play = PlayPause(self.clock.is_rolling());
let transport = TransportView::new(self, Some(ItemPalette::from(TuiTheme::g(96))), true);
let with_transport = |x|col!([row!(![&play, &transport]), &x]);
let pool_size = if self.phrases.visible { self.splits[1] } else { 0 };
let with_pool = |x|Split::w(false, pool_size, PoolView(&self.phrases), x);