mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +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
|
||||
}
|
||||
|
||||
contentItem: Flow {
|
||||
id: applicationsFlow
|
||||
// With a mousearea, it will be possible to drag with touch also on empty places
|
||||
contentItem: MouseArea {
|
||||
implicitWidth: applicationsFlow.implicitWidth
|
||||
implicitHeight: applicationsFlow.implicitHeight
|
||||
Flow {
|
||||
id: applicationsFlow
|
||||
|
||||
spacing: 0
|
||||
spacing: 0
|
||||
anchors.fill: parent
|
||||
|
||||
move: Transition {
|
||||
NumberAnimation {
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
properties: "x,y"
|
||||
move: Transition {
|
||||
NumberAnimation {
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
properties: "x,y"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue