summaryrefslogtreecommitdiffstats
path: root/widget/src/button.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/button.rs')
-rw-r--r--widget/src/button.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/widget/src/button.rs b/widget/src/button.rs
index cd141169..14626dd3 100644
--- a/widget/src/button.rs
+++ b/widget/src/button.rs
@@ -392,15 +392,14 @@ where
};
if styling.background.is_some()
- || styling.shadow.color.a > 0.0
|| styling.border.width > 0.0
+ || styling.shadow.color.a > 0.0
{
renderer.fill_quad(
renderer::Quad {
bounds,
border: styling.border,
shadow: styling.shadow,
- ..renderer::Quad::default()
},
styling
.background