From a88bf0fed7cc8d135d26502221cadd4d6f09c582 Mon Sep 17 00:00:00 2001 From: Nathan Henrie Date: Sat, 11 Dec 2021 16:46:34 -0700 Subject: Fix path to ferris.png Fixes https://github.com/iced-rs/iced/issues/1156 --- examples/tour/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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", -- cgit