summaryrefslogtreecommitdiffstats
path: root/widget/src/toggler.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/toggler.rs
parentb3e3f6e3c9fc6879e6681810f54d7eaa7c0f3d30 (diff)
downloadiced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.gz
iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.bz2
iced-cc906c83cdf896d94b7ccf91258466714be631f6.zip
feat: quad shadows
Diffstat (limited to 'widget/src/toggler.rs')
-rw-r--r--widget/src/toggler.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/src/toggler.rs b/widget/src/toggler.rs
index 941159ea..f7fb5d58 100644
--- a/widget/src/toggler.rs
+++ b/widget/src/toggler.rs
@@ -317,6 +317,7 @@ where
border_color: style
.background_border
.unwrap_or(style.background),
+ shadow: Default::default(),
},
style.background,
);
@@ -341,6 +342,7 @@ where
border_color: style
.foreground_border
.unwrap_or(style.foreground),
+ shadow: Default::default(),
},
style.foreground,
);