summaryrefslogtreecommitdiffstats
path: root/examples/custom_quad
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 12:11:18 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 12:11:18 +0100
commitb7b457a575cdd103915994f640c50262ce30a7c5 (patch)
treec8b910de89e2e723051dc8058f796ec022026a49 /examples/custom_quad
parent83902921a3065e8dadfaca23c2e03dd770d93780 (diff)
downloadiced-b7b457a575cdd103915994f640c50262ce30a7c5.tar.gz
iced-b7b457a575cdd103915994f640c50262ce30a7c5.tar.bz2
iced-b7b457a575cdd103915994f640c50262ce30a7c5.zip
Make `shadow` optional in `renderer::Quad`
Diffstat (limited to 'examples/custom_quad')
-rw-r--r--examples/custom_quad/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/custom_quad/src/main.rs b/examples/custom_quad/src/main.rs
index 01f4aa10..e3f110bb 100644
--- a/examples/custom_quad/src/main.rs
+++ b/examples/custom_quad/src/main.rs
@@ -65,7 +65,7 @@ mod quad {
border_radius: self.radius.into(),
border_width: self.border_width,
border_color: Color::from_rgb(1.0, 0.0, 0.0),
- shadow: self.shadow,
+ shadow: Some(self.shadow),
},
Color::BLACK,
);