slider rendering
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user