diff options
author | 2024-01-20 12:11:18 +0100 | |
---|---|---|
committer | 2024-01-20 12:11:18 +0100 | |
commit | b7b457a575cdd103915994f640c50262ce30a7c5 (patch) | |
tree | c8b910de89e2e723051dc8058f796ec022026a49 /examples/custom_quad | |
parent | 83902921a3065e8dadfaca23c2e03dd770d93780 (diff) | |
download | iced-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.rs | 2 |
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, ); |