mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 22:33:08 +00:00
workaround for dragging on empty areas
This commit is contained in:
parent
d41f505795
commit
83f876a761
1 changed files with 14 additions and 8 deletions
|
|
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue