Remove double constrained call

Antonio Scandurra created

Change summary

crates/gpui/src/elements/svg.rs | 1 -
1 file changed, 1 deletion(-)

Detailed changes

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)
     }