groovebox: reenable pool

This commit is contained in:
🪞👃🪞 2025-05-14 17:39:51 +03:00
parent 872c2d94d6
commit d7bbc2a412
6 changed files with 73 additions and 94 deletions

View file

@ -33,9 +33,7 @@ impl App {
ArrangerView::new(&self.project, self.editor.as_ref())
}
pub fn view_pool (&self) -> impl Content<TuiOut> + use<'_> {
let is_editing = self.is_editing();
Fixed::x(self.project.w_sidebar(is_editing),
PoolView(is_editing, &self.project.pool))
PoolView(&self.project.pool)
}
pub fn view_samples_keys (&self) -> impl Content<TuiOut> + use<'_> {
self.project.sampler().map(|s|s.view_list(false, self.editor().unwrap()))