summaryrefslogtreecommitdiffstats
path: root/widget/src/button.rs
diff options
context:
space:
mode:
authorLibravatar Nick Senger <dev@nsenger.com>2023-11-08 19:12:53 -0800
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 11:59:37 +0100
commitcc906c83cdf896d94b7ccf91258466714be631f6 (patch)
treead873e88cb711d4f186cb0c83497329903c200c3 /widget/src/button.rs
parentb3e3f6e3c9fc6879e6681810f54d7eaa7c0f3d30 (diff)
downloadiced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.gz
iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.bz2
iced-cc906c83cdf896d94b7ccf91258466714be631f6.zip
feat: quad shadows
Diffstat (limited to 'widget/src/button.rs')
-rw-r--r--widget/src/button.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/src/button.rs b/widget/src/button.rs
index 0ebb8dcc..44628a6a 100644
--- a/widget/src/button.rs
+++ b/widget/src/button.rs
@@ -404,6 +404,7 @@ where
border_radius: styling.border_radius,
border_width: 0.0,
border_color: Color::TRANSPARENT,
+ shadow: Default::default(),
},
Background::Color([0.0, 0.0, 0.0, 0.5].into()),
);
@@ -415,6 +416,7 @@ where
border_radius: styling.border_radius,
border_width: styling.border_width,
border_color: styling.border_color,
+ shadow: Default::default(),
},
styling
.background