Skip to content

Commit

Permalink
Merge pull request #1157 from n8henrie/master
Browse files Browse the repository at this point in the history
Fix path to ferris.png
  • Loading branch information
hecrj authored Dec 13, 2021
2 parents 8cbba94 + a88bf0f commit bc15bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/tour/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit bc15bfd

Please sign in to comment.