Browse Source

Merge pull request #5314 from dogmaphobic/rotationGesture

Enable only the gestures we're interested in.
QGC4.4
Gus Grubba 8 years ago committed by GitHub
parent
commit
bbc7bfaeac
  1. 2
      src/FlightMap/FlightMap.qml

2
src/FlightMap/FlightMap.qml

@ -27,6 +27,8 @@ Map { @@ -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" }

Loading…
Cancel
Save