slider rendering

This commit is contained in:
2020-08-01 22:51:44 -07:00
parent f3a3be1d99
commit ea98b7e7d6
3 changed files with 67 additions and 52 deletions

View File

@@ -29,7 +29,9 @@ impl CanvasFrame {
/// Push this drawable onto the back of the accumulator
pub fn draw(&mut self, drawable: &dyn Drawable) {
drawable.get().iter().map(|x| {self.map.push(x.clone())});
for i in drawable.get() {
self.map.push(i);
}
}
}