Fix path to ferris.png

Fixes https://github.com/iced-rs/iced/issues/1156
This commit is contained in:
Nathan Henrie 2021-12-11 16:46:34 -07:00
parent 8cbba94458
commit a88bf0fed7

View file

@ -704,7 +704,7 @@ fn ferris<'a>(width: u16) -> Container<'a, StepMessage> {
// This should go away once we unify resource loading on native
// platforms
if cfg!(target_arch = "wasm32") {
Image::new("images/ferris.png")
Image::new("tour/images/ferris.png")
} else {
Image::new(format!(
"{}/images/ferris.png",