use PrimitiveStyle::with_stroke, not PrimitiveStyleBuilder

This commit is contained in:
Reinier Balt
2021-06-16 14:17:18 +02:00
parent 21428ff82f
commit dd9a09aff4
4 changed files with 13 additions and 47 deletions
-4
View File
@@ -30,10 +30,6 @@ impl DrawTarget for Display7in5 {
fn draw_pixel(&mut self, pixel: Pixel<BinaryColor>) -> Result<(), Self::Error> {
self.draw_helper(WIDTH, HEIGHT, pixel)
}
// fn size(&self) -> Size {
// Size::new(WIDTH, HEIGHT)
// }
}
impl Display for Display7in5 {