Merge pull request #196 from piaoger/patch-1

Fix sample file path for svg example
This commit is contained in:
Héctor Ramón 2020-02-20 10:47:57 +01:00 committed by GitHub
commit 9758c12176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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),
);