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/pane_grid.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widget/src/pane_grid.rs') diff --git a/widget/src/pane_grid.rs b/widget/src/pane_grid.rs index cf1f0455..fc30716d 100644 --- a/widget/src/pane_grid.rs +++ b/widget/src/pane_grid.rs @@ -921,6 +921,7 @@ pub fn draw( .border_radius, border_width: hovered_region_style.border_width, border_color: hovered_region_style.border_color, + shadow: Default::default(), }, theme.hovered_region(style).background, ); @@ -950,6 +951,7 @@ pub fn draw( border_radius: hovered_region_style.border_radius, border_width: hovered_region_style.border_width, border_color: hovered_region_style.border_color, + shadow: Default::default(), }, theme.hovered_region(style).background, ); @@ -1013,6 +1015,7 @@ pub fn draw( border_radius: 0.0.into(), border_width: 0.0, border_color: Color::TRANSPARENT, + shadow: Default::default(), }, highlight.color, ); -- cgit