From 717d279f509a597e95ea0528771fee80cdec7efe Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Mon, 6 Jan 2025 18:40:44 +0500 Subject: [PATCH] Update --- .../org.github.Melawy.desktop.MelawyPanel/contents/layout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js index f19826b..4600711 100644 --- a/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js +++ b/melawy-kde-theme/usr/share/plasma/layout-templates/org.github.Melawy.desktop.MelawyPanel/contents/layout.js @@ -116,7 +116,7 @@ panel.hiding = "none"; let aspect_ratio = geo.width / geo.height; -if (aspect_ratio > 1.8) { +if (panel.formFactor === "horizontal" && geo.width > 1366 && aspect_ratio > 1.8) { panel.addWidget("org.kde.plasma.panelspacer"); }