diff options
author | 2020-02-20 10:47:57 +0100 | |
---|---|---|
committer | 2020-02-20 10:47:57 +0100 | |
commit | 9758c121764a6e8e5a45b8a66915127b31e61df7 (patch) | |
tree | 0fedd5a8f38a6f65a6ff1a01d5e52bfb8a872c36 /examples | |
parent | 17271eae671a933a862dc85aa5b9956a7da70b28 (diff) | |
parent | 23fe47bdcb5914224365387c04e8e5a9538e5783 (diff) | |
download | iced-9758c121764a6e8e5a45b8a66915127b31e61df7.tar.gz iced-9758c121764a6e8e5a45b8a66915127b31e61df7.tar.bz2 iced-9758c121764a6e8e5a45b8a66915127b31e61df7.zip |
Merge pull request #196 from piaoger/patch-1
Fix sample file path for svg example
Diffstat (limited to 'examples')
-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), ); |