update libcosmic
This commit is contained in:
parent
61d527a84c
commit
5a15ef8d7f
19 changed files with 124 additions and 146 deletions
|
|
@ -6,8 +6,8 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
libcosmic = { git = "https://github.com/pop-os/libcosmic/", rev = "6699aa4", default-features = false, features = ["tokio", "wayland"] }
|
||||
libcosmic = { git = "https://github.com/pop-os/libcosmic/", default-features = false, features = ["tokio", "wayland"] }
|
||||
ron = { version = "0.8" }
|
||||
serde = { version = "1.0" }
|
||||
cosmic-panel-config = { git = "https://github.com/pop-os/cosmic-panel", rev = "a47c24d" }
|
||||
cosmic-panel-config = { git = "https://github.com/pop-os/cosmic-panel" }
|
||||
log = { version = "0.4" }
|
||||
|
|
@ -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)
|
||||
}),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue