workaround for dragging on empty areas

This commit is contained in:
Marco Martin 2019-10-04 11:45:37 +02:00
parent d41f505795
commit 83f876a761

View file

@ -72,16 +72,22 @@ Item {
anchors.fill: parent anchors.fill: parent
} }
contentItem: Flow { // With a mousearea, it will be possible to drag with touch also on empty places
id: applicationsFlow contentItem: MouseArea {
implicitWidth: applicationsFlow.implicitWidth
implicitHeight: applicationsFlow.implicitHeight
Flow {
id: applicationsFlow
spacing: 0 spacing: 0
anchors.fill: parent
move: Transition { move: Transition {
NumberAnimation { NumberAnimation {
duration: units.longDuration duration: units.longDuration
easing.type: Easing.InOutQuad easing.type: Easing.InOutQuad
properties: "x,y" properties: "x,y"
}
} }
} }
} }