diff options
author | 2020-02-20 17:28:42 +0800 | |
---|---|---|
committer | 2020-02-20 17:28:42 +0800 | |
commit | 23fe47bdcb5914224365387c04e8e5a9538e5783 (patch) | |
tree | 0fedd5a8f38a6f65a6ff1a01d5e52bfb8a872c36 /examples/svg/src | |
parent | 17271eae671a933a862dc85aa5b9956a7da70b28 (diff) | |
download | iced-23fe47bdcb5914224365387c04e8e5a9538e5783.tar.gz iced-23fe47bdcb5914224365387c04e8e5a9538e5783.tar.bz2 iced-23fe47bdcb5914224365387c04e8e5a9538e5783.zip |
Fix sample file path for svg example
Sample tiger.svg is move to resources after directory restructuring. This change is to correct the path
Diffstat (limited to 'examples/svg/src')
-rw-r--r-- | examples/svg/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/svg/src/main.rs b/examples/svg/src/main.rs index 57358e24..1fb80534 100644 --- a/examples/svg/src/main.rs +++ b/examples/svg/src/main.rs @@ -22,7 +22,7 @@ impl Sandbox for Tiger { fn view(&mut self) -> Element<()> { let content = Column::new().padding(20).push( - Svg::new(format!("{}/tiger.svg", env!("CARGO_MANIFEST_DIR"))) + Svg::new(format!("{}/resources/tiger.svg", env!("CARGO_MANIFEST_DIR"))) .width(Length::Fill) .height(Length::Fill), ); |