summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-12-13 15:34:36 +0700
committerLibravatar GitHub <noreply@github.com>2021-12-13 15:34:36 +0700
commitbc15bfdb67394eb6eaaacec96d919f0f6cfe4efb (patch)
tree6462534e6b6aa38fc7a8c40b152580b960240363
parent8cbba944581a81931848352ec45646d882d9b3d0 (diff)
parenta88bf0fed7cc8d135d26502221cadd4d6f09c582 (diff)
downloadiced-bc15bfdb67394eb6eaaacec96d919f0f6cfe4efb.tar.gz
iced-bc15bfdb67394eb6eaaacec96d919f0f6cfe4efb.tar.bz2
iced-bc15bfdb67394eb6eaaacec96d919f0f6cfe4efb.zip
Merge pull request #1157 from n8henrie/master
Fix path to ferris.png
-rw-r--r--examples/tour/src/main.rs2
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",