summaryrefslogtreecommitdiffstats
path: root/widget/src/vertical_slider.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 /widget/src/vertical_slider.rs
parentb3e3f6e3c9fc6879e6681810f54d7eaa7c0f3d30 (diff)
downloadiced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.gz
iced-cc906c83cdf896d94b7ccf91258466714be631f6.tar.bz2
iced-cc906c83cdf896d94b7ccf91258466714be631f6.zip
feat: quad shadows
Diffstat (limited to 'widget/src/vertical_slider.rs')
-rw-r--r--widget/src/vertical_slider.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/widget/src/vertical_slider.rs b/widget/src/vertical_slider.rs
index a3029d76..4fdad861 100644
--- a/widget/src/vertical_slider.rs
+++ b/widget/src/vertical_slider.rs
@@ -400,6 +400,7 @@ pub fn draw<T, R>(
border_radius: style.rail.border_radius,
border_width: 0.0,
border_color: Color::TRANSPARENT,
+ shadow: Default::default(),
},
style.rail.colors.1,
);
@@ -415,6 +416,7 @@ pub fn draw<T, R>(
border_radius: style.rail.border_radius,
border_width: 0.0,
border_color: Color::TRANSPARENT,
+ shadow: Default::default(),
},
style.rail.colors.0,
);
@@ -430,6 +432,7 @@ pub fn draw<T, R>(
border_radius: handle_border_radius,
border_width: style.handle.border_width,
border_color: style.handle.border_color,
+ shadow: Default::default(),
},
style.handle.color,
);