chore: update libcosmic

This commit is contained in:
Ashley Wulber 2024-02-05 16:18:36 -05:00
parent 1a7b210b70
commit 0a5325ba05
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
6 changed files with 491 additions and 504 deletions

View file

@ -6,6 +6,7 @@ use cosmic::{
widget::{column, horizontal_rule},
Alignment, Background, Length,
},
iced_core::Border,
theme,
widget::{
self, horizontal_space,
@ -71,9 +72,12 @@ pub fn context_menu<'a>(
icon_color: Some(component.on.into()),
text_color: Some(component.on.into()),
background: Some(Background::Color(component.base.into())),
border_radius: 8.0.into(),
border_width: 1.0,
border_color: component.divider.into(),
border: Border {
radius: 8.0.into(),
width: 1.0,
color: component.divider.into(),
},
..Default::default()
}
}))
.width(Length::Fixed(240.0))