diff options
| author | 2021-12-11 16:46:34 -0700 | |
|---|---|---|
| committer | 2021-12-11 16:51:54 -0700 | |
| commit | a88bf0fed7cc8d135d26502221cadd4d6f09c582 (patch) | |
| tree | 6462534e6b6aa38fc7a8c40b152580b960240363 /examples/tour/src | |
| parent | 8cbba944581a81931848352ec45646d882d9b3d0 (diff) | |
| download | iced-a88bf0fed7cc8d135d26502221cadd4d6f09c582.tar.gz iced-a88bf0fed7cc8d135d26502221cadd4d6f09c582.tar.bz2 iced-a88bf0fed7cc8d135d26502221cadd4d6f09c582.zip  | |
Fix path to ferris.png
Fixes https://github.com/iced-rs/iced/issues/1156
Diffstat (limited to '')
| -rw-r--r-- | examples/tour/src/main.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs index b0e87920..d4b41310 100644 --- a/examples/tour/src/main.rs +++ b/examples/tour/src/main.rs @@ -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",  | 
