@@ -326,9 +326,25 @@ StyledItem {
326 minimumTouchPoints: 4
326 minimumTouchPoints: 4
327 maximumTouchPoints: minimumTouchPoints
327 maximumTouchPoints: minimumTouchPoints
329+ readonly property bool recognisedPress: status == TouchGestureArea.Recognized &&
330+ touchPoints.length >= minimumTouchPoints &&
331+ touchPoints.length <= maximumTouchPoints
332+ property bool wasPressed: false
334+ onRecognisedPressChanged: {
335+ if (recognisedPress) {
329 onStatusChanged: {
340 onStatusChanged: {
330− if (status == TouchGestureArea.Recognized) {
341+ if (status !== TouchGestureArea.Recognized) {
342+ if (status === TouchGestureArea.WaitingForTouch) {
331− launcher.openDrawer(true);
344+ launcher.openDrawer(true);