summaryrefslogtreecommitdiffstats
path: root/examples/custom_widget/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/custom_widget/src/main.rs')
-rw-r--r--examples/custom_widget/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/custom_widget/src/main.rs b/examples/custom_widget/src/main.rs
index f5c34d6b..6578183d 100644
--- a/examples/custom_widget/src/main.rs
+++ b/examples/custom_widget/src/main.rs
@@ -63,9 +63,7 @@ mod circle {
renderer::Quad {
bounds: layout.bounds(),
border_radius: self.radius.into(),
- border_width: 0.0,
- border_color: Color::TRANSPARENT,
- shadow: Default::default(),
+ ..renderer::Quad::default()
},
Color::BLACK,
);