Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui example: Fix SVG not showing up when running from root (#13648)
Thorsten Ball3cabd4bf6439
diff --git a/crates/gpui/examples/animation.rs b/crates/gpui/examples/animation.rsindex 7d7b875f2bd..70bedb53c09 100644--- a/crates/gpui/examples/animation.rs+++ b/crates/gpui/examples/animation.rs@@ -23,6 +23,11 @@ impl AssetSource for Assets {}}+const ARROW_CIRCLE_SVG: &'static str = concat!(+ env!("CARGO_MANIFEST_DIR"),+ "/examples/image/arrow_circle.svg"+);+struct AnimationExample {}impl Render for AnimationExample {@@ -42,7 +47,7 @@ impl Render for AnimationExample {.child(svg().size_8()- .path("examples/image/arrow_circle.svg")+ .path(ARROW_CIRCLE_SVG).text_color(black()).with_animation("image_circle",