This commit is contained in:
Ashley Wulber 2025-03-21 11:13:51 -04:00
parent a3525ef56e
commit b0ae76ce01
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 3 additions and 4 deletions

View file

@ -108,7 +108,7 @@ impl Context {
#[must_use]
pub fn suggested_size(&self, is_symbolic: bool) -> (u16, u16) {
match &self.size {
Size::PanelSize(ref size) => {
Size::PanelSize(size) => {
let s = size.get_applet_icon_size(is_symbolic) as u16;
(s, s)
}
@ -142,7 +142,7 @@ impl Context {
#[must_use]
pub fn suggested_padding(&self, is_symbolic: bool) -> u16 {
match &self.size {
Size::PanelSize(ref size) => size.get_applet_padding(is_symbolic),
Size::PanelSize(size) => size.get_applet_padding(is_symbolic),
Size::Hardcoded(_) => 8,
}
}