summaryrefslogtreecommitdiff
path: root/modules/sidebar/NotifGroupList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sidebar/NotifGroupList.qml')
-rw-r--r--modules/sidebar/NotifGroupList.qml4
1 files changed, 2 insertions, 2 deletions
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);