mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Update file ActionDrawerOpenSurface.qml
This commit is contained in:
parent
a08e4c25d9
commit
2cf0d35f0c
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ MouseArea {
|
||||||
}
|
}
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
onPressed: {
|
onPressed: mouse => {
|
||||||
oldMouseY = mouse.y;
|
oldMouseY = mouse.y;
|
||||||
|
|
||||||
// if the user swiped from the top left, otherwise it's from the top right
|
// if the user swiped from the top left, otherwise it's from the top right
|
||||||
|
|
@ -57,7 +57,7 @@ MouseArea {
|
||||||
}
|
}
|
||||||
onReleased: endSwipe()
|
onReleased: endSwipe()
|
||||||
onCanceled: endSwipe()
|
onCanceled: endSwipe()
|
||||||
onPositionChanged: {
|
onPositionChanged: mouse => {
|
||||||
updateOffset(mouse.y - oldMouseY);
|
updateOffset(mouse.y - oldMouseY);
|
||||||
oldMouseY = mouse.y;
|
oldMouseY = mouse.y;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue