summaryrefslogtreecommitdiffstats
path: root/graphics/src/renderer.rs
diff options
context:
space:
mode:
authorLibravatar Nick Senger <dev@nsenger.com>2023-11-08 19:12:53 -0800
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 11:59:37 +0100
commitcc906c83cdf896d94b7ccf91258466714be631f6 (patch)
treead873e88cb711d4f186cb0c83497329903c200c3 /graphics/src/renderer.rs
parentb3e3f6e3c9fc6879e6681810f54d7eaa7c0f3d30 (diff)
downloadiced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.gz
iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.bz2
iced-cc906c83cdf896d94b7ccf91258466714be631f6.zip
feat: quad shadows
Diffstat (limited to 'graphics/src/renderer.rs')
-rw-r--r--graphics/src/renderer.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/src/renderer.rs b/graphics/src/renderer.rs
index 1b0f5c5b..bd640097 100644
--- a/graphics/src/renderer.rs
+++ b/graphics/src/renderer.rs
@@ -127,6 +127,9 @@ 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,
});
}