@@ -28,16 +28,20 @@ Item {
29 signal activated
29 signal activated
31− TabletSideStageTouchGesture {
31+ TouchGestureArea {
32 id: gestureArea
32 id: gestureArea
33 anchors.fill: parent
33 anchors.fill: parent
35− // NB: for testing, not to clash with unity7 touch overlay controls
35+ // NB: for testing set to 2, not to clash with unity7 touch overlay controls
36− // minimumTouchPoints: 2
36+ minimumTouchPoints: 3
37− // maximumTouchPoints: 2
37+ maximumTouchPoints: minimumTouchPoints
39− onRecognisedPressChanged: {
39+ readonly property bool recognizedPress: status == TouchGestureArea.Recognized &&
40+ touchPoints.length >= minimumTouchPoints &&
41+ touchPoints.length <= maximumTouchPoints
43+ onRecognizedPressChanged: {
40− if (recognisedPress && target && !target.fullscreen) {
44+ if (recognizedPress && target && !target.fullscreen) {
41 overlayTimer.running = true;
45 overlayTimer.running = true;
42 root.activated();
46 root.activated();