update libcosmic

This commit is contained in:
Ashley Wulber 2023-06-15 15:03:06 -04:00 committed by Ashley Wulber
parent 61d527a84c
commit 5a15ef8d7f
19 changed files with 124 additions and 146 deletions

View file

@ -31,11 +31,11 @@ const APPLET_PADDING: u32 = 8;
pub fn applet_button_theme() -> Button {
Button::Custom {
active: Box::new(|t| iced_style::button::Appearance {
border_radius: 0.0,
border_radius: 0.0.into(),
..t.active(&Button::Text)
}),
hover: Box::new(|t| iced_style::button::Appearance {
border_radius: 0.0,
border_radius: 0.0.into(),
..t.hovered(&Button::Text)
}),
}