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