summaryrefslogtreecommitdiff
path: root/crates/material_theme/src/pick_list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/material_theme/src/pick_list.rs')
-rw-r--r--crates/material_theme/src/pick_list.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/crates/material_theme/src/pick_list.rs b/crates/material_theme/src/pick_list.rs
index 25b09f8..4b34871 100644
--- a/crates/material_theme/src/pick_list.rs
+++ b/crates/material_theme/src/pick_list.rs
@@ -1,4 +1,4 @@
-use iced_widget::core::{Background, Border, border};
+use iced_widget::core::{Background, border};
use iced_widget::pick_list::{Catalog, Status, Style, StyleFn};
use super::Theme;
@@ -38,10 +38,7 @@ pub fn default(theme: &Theme, status: Status) -> Style {
},
Status::Opened { .. } => Style {
background: Background::Color(surface.surface_container.highest),
- border: Border {
- radius: border::top(4),
- ..Default::default()
- },
+ border: border::rounded(4),
..active
},
}