From cc906c83cdf896d94b7ccf91258466714be631f6 Mon Sep 17 00:00:00 2001 From: Nick Senger Date: Wed, 8 Nov 2023 19:12:53 -0800 Subject: feat: quad shadows --- widget/src/text_input.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widget/src/text_input.rs') diff --git a/widget/src/text_input.rs b/widget/src/text_input.rs index c3dce8be..f8e6c7f8 100644 --- a/widget/src/text_input.rs +++ b/widget/src/text_input.rs @@ -1085,6 +1085,7 @@ pub fn draw( border_radius: appearance.border_radius, border_width: appearance.border_width, border_color: appearance.border_color, + shadow: Default::default(), }, appearance.background, ); @@ -1134,6 +1135,7 @@ pub fn draw( border_radius: 0.0.into(), border_width: 0.0, border_color: Color::TRANSPARENT, + shadow: Default::default(), }, theme.value_color(style), )) @@ -1175,6 +1177,7 @@ pub fn draw( border_radius: 0.0.into(), border_width: 0.0, border_color: Color::TRANSPARENT, + shadow: Default::default(), }, theme.selection_color(style), )), -- cgit