From de90ec9924d9a8aa085a4d899bf423967a722b14 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Tue, 20 Jun 2017 10:23:11 -0400 Subject: [PATCH] Enable only the gestures we're interested in. --- src/FlightMap/FlightMap.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/FlightMap/FlightMap.qml b/src/FlightMap/FlightMap.qml index 883748b7e..f478186ae 100644 --- a/src/FlightMap/FlightMap.qml +++ b/src/FlightMap/FlightMap.qml @@ -27,6 +27,8 @@ Map { zoomLevel: QGroundControl.flightMapZoom center: QGroundControl.flightMapPosition + //-- Qt 5.9 has rotation gesture enabled by default. Here we limit the possible gestures. + gesture.acceptedGestures: MapGestureArea.PinchGesture | MapGestureArea.PanGesture | MapGestureArea.FlickGesture gesture.flickDeceleration: 3000 plugin: Plugin { name: "QGroundControl" } -- 2.22.0