fix example

embedded-hal-1.0
Chris 2018-10-18 22:53:41 +02:00
parent dadc302945
commit b5dcbb0454
1 changed files with 2 additions and 2 deletions

View File

@ -304,8 +304,8 @@ fn run() -> Result<(), std::io::Error> {
Font6x8::render_str("It's working-BoW!")
// Using Style here
.with_style(Style {
fill_color: Some(Color::Black),
stroke_color: Some(Color::White),
fill_color: Some(Color::White),
stroke_color: Some(Color::Black),
stroke_width: 0u8, // Has no effect on fonts
})
.translate(Coord::new(50, 200))