From ed88f52619531586aed6697447258dc2c7af7de2 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 23 Jun 2023 09:23:52 +0200 Subject: [PATCH] Remove double constrained call --- crates/gpui/src/elements/svg.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/gpui/src/elements/svg.rs b/crates/gpui/src/elements/svg.rs index 4ef880b3e1..9792f16cbe 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) }