compact sample list

This commit is contained in:
🪞👃🪞 2025-05-14 20:44:25 +03:00
parent d45bd2122e
commit 4a9e9132f3
3 changed files with 9 additions and 5 deletions

View file

@ -8,7 +8,7 @@ content!(TuiOut: |self: PoolView<'a>| {
//let on_bg = |x|x;//Bsp::b(Repeat(" "), Tui::bg(color.darkest.rgb, x));
//let border = |x|x;//Outer(Style::default().fg(color.dark.rgb).bg(color.darkest.rgb)).enclose(x);
let height = pool.clips.read().unwrap().len() as u16;
Fixed::x(20, Fill::y(Align::c(Map::new(
Fixed::x(20, Fill::y(Align::n(Map::new(
||pool.clips().clone().into_iter(),
move|clip: Arc<RwLock<MidiClip>>, i: usize|{
let item_height = 1;