@@ -326,9 +326,25 @@ StyledItem {
326326 minimumTouchPoints: 4
327327 maximumTouchPoints: minimumTouchPoints
328328
329+ readonly property bool recognisedPress: status == TouchGestureArea.Recognized &&
330+ touchPoints.length >= minimumTouchPoints &&
331+ touchPoints.length <= maximumTouchPoints
332+ property bool wasPressed: false
333+
334+ onRecognisedPressChanged: {
335+ if (recognisedPress) {
336+ wasPressed = true;
337+ }
338+ }
339+
329340 onStatusChanged: {
330− if (status == TouchGestureArea.Recognized) {
331− launcher.openDrawer(true);
341+ if (status !== TouchGestureArea.Recognized) {
342+ if (status === TouchGestureArea.WaitingForTouch) {
343+ if (wasPressed) {
344+ launcher.openDrawer(true);
345+ }
346+ }
347+ wasPressed = false;
332348 }
333349 }
334350 }