diff options
author | 2023-11-08 19:12:53 -0800 | |
---|---|---|
committer | 2024-01-20 11:59:37 +0100 | |
commit | cc906c83cdf896d94b7ccf91258466714be631f6 (patch) | |
tree | ad873e88cb711d4f186cb0c83497329903c200c3 /widget/src/button.rs | |
parent | b3e3f6e3c9fc6879e6681810f54d7eaa7c0f3d30 (diff) | |
download | iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.gz iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.bz2 iced-cc906c83cdf896d94b7ccf91258466714be631f6.zip |
feat: quad shadows
Diffstat (limited to '')
-rw-r--r-- | widget/src/button.rs | 2 |
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 |