added println to check coords

pull/701/head
Samuel Voss 1 year ago
parent 24f719ee1e
commit 4a60da58f4

@ -12,15 +12,13 @@ pub struct Points<'a> {
impl<'a> Shape for Points<'a> {
fn draw(&self, painter: &mut Painter) {
println!("{:?}", self.coords);
for (x, y, drawed) in self.coords {
if *drawed {
if let Some((x, y)) = painter.get_point(*x, *y) {
painter.paint(x, y, self.color);
}
} else if let Some((x, y)) = painter.get_point(*x, *y) {
//painter.paint(x, y, Color::Reset);
}
}
}
}

Loading…
Cancel
Save