summaryrefslogtreecommitdiffstats
path: root/widget/src/toggler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/toggler.rs')
-rw-r--r--widget/src/toggler.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/toggler.rs b/widget/src/toggler.rs
index f7fb5d58..0bafffe1 100644
--- a/widget/src/toggler.rs
+++ b/widget/src/toggler.rs
@@ -317,7 +317,7 @@ where
border_color: style
.background_border
.unwrap_or(style.background),
- shadow: Default::default(),
+ ..renderer::Quad::default()
},
style.background,
);
@@ -342,7 +342,7 @@ where
border_color: style
.foreground_border
.unwrap_or(style.foreground),
- shadow: Default::default(),
+ ..renderer::Quad::default()
},
style.foreground,
);