From 138d80ef0057f106372166c29eedadffa58177b3 Mon Sep 17 00:00:00 2001 From: zach Date: Thu, 2 Apr 2026 20:15:15 +0200 Subject: [PATCH] cleanup + fixes --- Drawers/Interactions.qml | 2 +- Modules/Launcher/AppList.qml | 2 +- Modules/Launcher/Background.qml | 2 +- Modules/Launcher/Items/ActionItem.qml | 2 +- Modules/Launcher/Items/CalcItem.qml | 2 +- Modules/Launcher/Items/VariantItem.qml | 2 +- Modules/Launcher/Wrapper.qml | 2 ++ 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Drawers/Interactions.qml b/Drawers/Interactions.qml index e27a765..53c8580 100644 --- a/Drawers/Interactions.qml +++ b/Drawers/Interactions.qml @@ -168,7 +168,7 @@ CustomMouseArea { } function onResourcesChanged() { - if (root.visibilities.resources && root.popouts.currentName.startsWith("audio")) { + if (root.visibilities.resources && (root.popouts.currentName.startsWith("audio") || root.popouts.currentName.startsWith("updates"))) { root.popouts.hasCurrent = false; } diff --git a/Modules/Launcher/AppList.qml b/Modules/Launcher/AppList.qml index a9dc2a5..ea2e854 100644 --- a/Modules/Launcher/AppList.qml +++ b/Modules/Launcher/AppList.qml @@ -73,7 +73,7 @@ CustomListView { implicitHeight: root.currentItem?.implicitHeight ?? 0 implicitWidth: root.width opacity: 0.08 - radius: 8 + radius: Appearance.rounding.smallest y: root.currentItem?.y ?? 0 Behavior on y { diff --git a/Modules/Launcher/Background.qml b/Modules/Launcher/Background.qml index 584bd97..cb795d4 100644 --- a/Modules/Launcher/Background.qml +++ b/Modules/Launcher/Background.qml @@ -7,7 +7,7 @@ ShapePath { id: root readonly property bool flatten: wrapper.height < rounding * 2 - readonly property real rounding: Config.barConfig.rounding + 5 + readonly property real rounding: Appearance.rounding.smallest + 5 readonly property real roundingY: flatten ? wrapper.height / 2 : rounding required property Wrapper wrapper diff --git a/Modules/Launcher/Items/ActionItem.qml b/Modules/Launcher/Items/ActionItem.qml index 1815f51..068265d 100644 --- a/Modules/Launcher/Items/ActionItem.qml +++ b/Modules/Launcher/Items/ActionItem.qml @@ -19,7 +19,7 @@ Item { root.modelData?.onClicked(root.list); } - radius: Appearance.rounding.normal + radius: Appearance.rounding.smallest } Item { diff --git a/Modules/Launcher/Items/CalcItem.qml b/Modules/Launcher/Items/CalcItem.qml index 39f7470..32008f2 100644 --- a/Modules/Launcher/Items/CalcItem.qml +++ b/Modules/Launcher/Items/CalcItem.qml @@ -27,7 +27,7 @@ Item { root.onClicked(); } - radius: Appearance.rounding.normal + radius: Appearance.rounding.smallest } RowLayout { diff --git a/Modules/Launcher/Items/VariantItem.qml b/Modules/Launcher/Items/VariantItem.qml index 2b0b096..42f47a0 100644 --- a/Modules/Launcher/Items/VariantItem.qml +++ b/Modules/Launcher/Items/VariantItem.qml @@ -18,7 +18,7 @@ Item { root.modelData?.onClicked(root.list); } - radius: Appearance.rounding.normal + radius: Appearance.rounding.smallest } Item { diff --git a/Modules/Launcher/Wrapper.qml b/Modules/Launcher/Wrapper.qml index 4c5b6e5..677abb1 100644 --- a/Modules/Launcher/Wrapper.qml +++ b/Modules/Launcher/Wrapper.qml @@ -15,6 +15,8 @@ Item { max -= panels.resources.nonAnimHeight; if (visibilities.dashboard && panels.dashboard.x < root.x + root.implicitWidth) max -= panels.dashboard.nonAnimHeight; + if (panels.popouts.currentName.startsWith("updates")) + max -= panels.popouts.nonAnimHeight; return max; } required property var panels