summaryrefslogtreecommitdiffstats
path: root/graphics/src/renderer.rs
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 /graphics/src/renderer.rs
parent83902921a3065e8dadfaca23c2e03dd770d93780 (diff)
downloadiced-b7b457a575cdd103915994f640c50262ce30a7c5.tar.gz
iced-b7b457a575cdd103915994f640c50262ce30a7c5.tar.bz2
iced-b7b457a575cdd103915994f640c50262ce30a7c5.zip
Make `shadow` optional in `renderer::Quad`
Diffstat (limited to 'graphics/src/renderer.rs')
-rw-r--r--graphics/src/renderer.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs
index bd640097..6f312331 100644
--- a/graphics/src/renderer.rs
+++ b/graphics/src/renderer.rs
@@ -127,9 +127,7 @@ impl<B: Backend, T> iced_core::Renderer for Renderer<B, T> {
border_radius: quad.border_radius.into(),
border_width: quad.border_width,
border_color: quad.border_color,
- shadow_color: quad.shadow.color,
- shadow_offset: quad.shadow.offset,
- shadow_blur_radius: quad.shadow.blur_radius,
+ shadow: quad.shadow,
});
}