From 2c5e433b73c2001c6c7d084757b8e2f9a4ef715f Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 27 Mar 2026 15:21:32 +1100 Subject: [PATCH] fix: clean up notif wrapper and format --- modules/launcher/Wrapper.qml | 2 +- modules/notifications/Wrapper.qml | 21 +-------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml index 6c9e09f3..472667e0 100644 --- a/modules/launcher/Wrapper.qml +++ b/modules/launcher/Wrapper.qml @@ -2,9 +2,9 @@ pragma ComponentBehavior: Bound import QtQuick import Quickshell -import qs.modules.launcher.services import qs.components import qs.config +import qs.modules.launcher.services Item { id: root diff --git a/modules/notifications/Wrapper.qml b/modules/notifications/Wrapper.qml index c0756b9a..97417e9c 100644 --- a/modules/notifications/Wrapper.qml +++ b/modules/notifications/Wrapper.qml @@ -1,6 +1,5 @@ import QtQuick import qs.components -import qs.config Item { id: root @@ -10,29 +9,11 @@ Item { property alias osdPanel: content.osdPanel property alias sessionPanel: content.sessionPanel - visible: anchors.topMargin > -implicitHeight - 5 + visible: height > 0 anchors.topMargin: -5 implicitWidth: Math.max(sidebarPanel.width, content.implicitWidth) implicitHeight: content.implicitHeight - states: State { - name: "hidden" - // when: root.visibilities.sidebar && Config.sidebar.enabled - - PropertyChanges { - root.anchors.topMargin: -implicitHeight - 5 - } - } - - transitions: Transition { - Anim { - target: root.anchors - property: "topMargin" - duration: Appearance.anim.durations.expressiveDefaultSpatial - easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial - } - } - Content { id: content