Fix path to ferris.png
Fixes https://github.com/iced-rs/iced/issues/1156
This commit is contained in:
parent
8cbba94458
commit
a88bf0fed7
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue