summaryrefslogtreecommitdiffstats
path: root/widget/src/pick_list.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 12:25:07 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-01-20 12:25:07 +0100
commit370b2f6df799c948188d3949e34112258b2a8498 (patch)
tree925d98d94be0e82c34377a7e3f697eafc8d095a2 /widget/src/pick_list.rs
parentb7b457a575cdd103915994f640c50262ce30a7c5 (diff)
downloadiced-370b2f6df799c948188d3949e34112258b2a8498.tar.gz
iced-370b2f6df799c948188d3949e34112258b2a8498.tar.bz2
iced-370b2f6df799c948188d3949e34112258b2a8498.zip
Use `Default` implementation of `renderer::Quad`
Diffstat (limited to 'widget/src/pick_list.rs')
-rw-r--r--widget/src/pick_list.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/widget/src/pick_list.rs b/widget/src/pick_list.rs
index 8931aa99..ef0c0eb3 100644
--- a/widget/src/pick_list.rs
+++ b/widget/src/pick_list.rs
@@ -656,7 +656,7 @@ pub fn draw<'a, T, Renderer>(
border_color: style.border_color,
border_width: style.border_width,
border_radius: style.border_radius,
- shadow: Default::default(),
+ ..renderer::Quad::default()
},
style.background,
);