remove Samplerviewer, SamplerStatus

This commit is contained in:
🪞👃🪞 2025-01-11 19:13:59 +01:00
parent 532b648a9e
commit a9cad18891
2 changed files with 59 additions and 61 deletions

View file

@ -80,7 +80,7 @@ impl Groovebox {
let sample_h = if self.compact { 0 } else { 5 };
Max::y(sample_h, Fill::xy(
Bsp::a(
Fill::x(Align::w(Fixed::y(1, SamplerStatus(&self.sampler, note_pt)))),
Fill::x(Align::w(Fixed::y(1, self.sampler.status(note_pt)))),
self.sampler.viewer(note_pt))))
}
fn pool_view (&self) -> impl Content<TuiOut> + use<'_> {