From baf9c0eef323234363956425bc733fec0247d029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vuka=C5=A1in=20Vojinovi=C4=87?= <150025636+git-f0x@users.noreply.github.com> Date: Sat, 6 Jul 2024 02:12:39 +0200 Subject: [PATCH] fix(app-list): return Hardcoded to original place Accidentally moved it to the PanelSize::S and PanelSize::XS parts of the match statement. --- cosmic-app-list/src/app.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cosmic-app-list/src/app.rs b/cosmic-app-list/src/app.rs index edb0318b..a1134b44 100755 --- a/cosmic-app-list/src/app.rs +++ b/cosmic-app-list/src/app.rs @@ -90,10 +90,8 @@ impl AppletIconData { let (dot_radius, bar_size) = match applet.size { Size::PanelSize(PanelSize::XL) | Size::PanelSize(PanelSize::L) => (2.0, 12.0), - Size::PanelSize(PanelSize::M) => (2.0, 8.0), - Size::PanelSize(PanelSize::S) | Size::PanelSize(PanelSize::XS) | Size::Hardcoded(_) => { - (1.0, 8.0) - } + Size::PanelSize(PanelSize::M) | Size::Hardcoded(_) => (2.0, 8.0), + Size::PanelSize(PanelSize::S) | Size::PanelSize(PanelSize::XS) => (1.0, 8.0), }; let padding = padding as f32;