piecing back together the groovebox

This commit is contained in:
🪞👃🪞 2025-01-01 21:37:46 +01:00
parent 77091671a3
commit 50bb8cab07
3 changed files with 8 additions and 14 deletions

View file

@ -112,12 +112,11 @@ impl<E, T, I, J, R, F> Content<E> for Map<E, T, I, J, R, F> where
}
fn render (&self, to: &mut E::Output) {
let mut index = 0;
let area = self.layout(to.area());
//panic!("{area:?}");
//to.blit(&format!("{area:?}"), 0, 0, None);
//let area = self.layout(to.area());
for item in (self.1)() {
let item = (self.2)(item, index);
to.place(area.into(), &item);
//to.place(area.into(), &item);
to.place(to.area().into(), &item);
index += 1;
}
}