Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove double constrained call

Antonio Scandurraed88f5261953
diff --git a/crates/gpui/src/elements/svg.rs b/crates/gpui/src/elements/svg.rs
index 4ef880b3e17..9792f16cbe1 100644
--- a/crates/gpui/src/elements/svg.rs
+++ b/crates/gpui/src/elements/svg.rs
@@ -30,7 +30,6 @@ impl Svg {
Self::new(style.asset)
.with_color(style.color)
.constrained()
- .constrained()
.with_width(style.dimensions.width)
.with_height(style.dimensions.height)
}