make notif items also draggable to left

This commit is contained in:
end-4
2025-10-20 00:20:06 +02:00
parent 96605fb0fe
commit ba0f2248d8
2 changed files with 11 additions and 9 deletions
@@ -29,7 +29,7 @@ MouseArea { // Notification group area
property var parentDragDistance: qmlParent?.dragDistance
property var dragIndexDiff: Math.abs(parentDragIndex - index)
property real xOffset: dragIndexDiff == 0 ? parentDragDistance :
parentDragDistance > dragConfirmThreshold ? 0 :
Math.abs(parentDragDistance) > dragConfirmThreshold ? 0 :
dragIndexDiff == 1 ? (parentDragDistance * 0.3) :
dragIndexDiff == 2 ? (parentDragDistance * 0.1) : 0