From 7efc0d54eab5fc9af10dce9575023251376c0030 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Fri, 19 Sep 2025 22:59:45 +1000 Subject: sidebar/notifs: fix clear all button & expand bugs Disable expand on drag on notifs when expanded (fixes drag expansion bugs and feels better) Also add scrollbar --- modules/sidebar/NotifGroupList.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/sidebar/NotifGroupList.qml') diff --git a/modules/sidebar/NotifGroupList.qml b/modules/sidebar/NotifGroupList.qml index 675dc44..3c45b0b 100644 --- a/modules/sidebar/NotifGroupList.qml +++ b/modules/sidebar/NotifGroupList.qml @@ -59,7 +59,7 @@ Item { hoverEnabled: true cursorShape: pressed ? Qt.ClosedHandCursor : undefined acceptedButtons: Qt.LeftButton | Qt.RightButton | Qt.MiddleButton - preventStealing: true + preventStealing: !root.expanded drag.target: this drag.axis: Drag.XAxis @@ -72,7 +72,7 @@ Item { modelData.close(); } onPositionChanged: event => { - if (pressed) { + if (pressed && !root.expanded) { const diffY = event.y - startY; if (Math.abs(diffY) > Config.notifs.expandThreshold) root.requestToggleExpand(diffY > 0); -- cgit v1.2.3-freya