From 7c7878172723683b9e5ec12462b0475d97310159 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Wed, 6 May 2026 19:52:08 +1000 Subject: [PATCH] fix: launcher dash exclusion --- modules/dashboard/Wrapper.qml | 2 +- modules/launcher/ContentList.qml | 10 ++-------- modules/launcher/Wrapper.qml | 2 +- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/modules/dashboard/Wrapper.qml b/modules/dashboard/Wrapper.qml index 1239f5b7..5debd7ad 100644 --- a/modules/dashboard/Wrapper.qml +++ b/modules/dashboard/Wrapper.qml @@ -27,7 +27,7 @@ Item { } } - readonly property real nonAnimHeight: state === "visible" ? ((content.item as Content)?.nonAnimHeight ?? 0) : 0 + readonly property real nonAnimHeight: (content.item as Content)?.nonAnimHeight ?? 0 readonly property bool shouldBeActive: visibilities.dashboard && Config.dashboard.enabled property real offsetScale: shouldBeActive ? 0 : 1 diff --git a/modules/launcher/ContentList.qml b/modules/launcher/ContentList.qml index e94cb836..f42087ed 100644 --- a/modules/launcher/ContentList.qml +++ b/modules/launcher/ContentList.qml @@ -154,18 +154,12 @@ Item { Behavior on implicitWidth { enabled: root.visibilities.launcher - Anim { - duration: Tokens.anim.durations.large - easing: Tokens.anim.emphasizedDecel - } + Anim {} } Behavior on implicitHeight { enabled: root.visibilities.launcher - Anim { - duration: Tokens.anim.durations.large - easing: Tokens.anim.emphasizedDecel - } + Anim {} } } diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml index 46bbd4f4..290c8dc6 100644 --- a/modules/launcher/Wrapper.qml +++ b/modules/launcher/Wrapper.qml @@ -16,7 +16,7 @@ Item { readonly property bool shouldBeActive: visibilities.launcher && Config.launcher.enabled readonly property real maxHeight: { - let max = screen.height - Config.border.thickness * 2 - Tokens.spacing.largeIncreased; + let max = screen.height - Config.border.thickness * 2 + Tokens.padding.large; if (visibilities.dashboard) max -= panels.dashboard.nonAnimHeight; return max;