From 2cf0d35f0cb18f84778d00a8be776e88313a159e Mon Sep 17 00:00:00 2001 From: Yari Polla Date: Mon, 6 Mar 2023 11:49:25 +0000 Subject: [PATCH] Update file ActionDrawerOpenSurface.qml --- .../mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml b/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml index c6ce24e0..0241d80c 100644 --- a/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml +++ b/components/mobileshell/qml/actiondrawer/ActionDrawerOpenSurface.qml @@ -43,7 +43,7 @@ MouseArea { } anchors.fill: parent - onPressed: { + onPressed: mouse => { oldMouseY = mouse.y; // if the user swiped from the top left, otherwise it's from the top right @@ -57,7 +57,7 @@ MouseArea { } onReleased: endSwipe() onCanceled: endSwipe() - onPositionChanged: { + onPositionChanged: mouse => { updateOffset(mouse.y - oldMouseY); oldMouseY = mouse.y; }