Merge pull request #1157 from n8henrie/master

Fix path to ferris.png
This commit is contained in:
Héctor Ramón 2021-12-13 15:34:36 +07:00 committed by GitHub
commit bc15bfdb67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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",