Browse Source

Merge pull request #8042 from DonLakeFlyer/CenterDrag

QGCMapPolygon: Fix center drag and split side
QGC4.4
Don Gagne 5 years ago committed by GitHub
parent
commit
4f44cd18f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/FlightMap/MapItems/MissionItemIndicatorDrag.qml
  2. 3
      src/MissionManager/QGCMapPolygonVisuals.qml

1
src/FlightMap/MapItems/MissionItemIndicatorDrag.qml

@ -23,7 +23,6 @@ Rectangle { @@ -23,7 +23,6 @@ Rectangle {
height: _itemIndicatorHeight + (_touchMarginVertical * 2)
color: "transparent"
z: QGroundControl.zOrderMapItems + 1 // Above item icons
visible: itemCoordinate.isValid
// Properties which must be specific by consumer
property var mapControl ///< Map control which contains this item

3
src/MissionManager/QGCMapPolygonVisuals.qml

@ -299,7 +299,8 @@ Item { @@ -299,7 +299,8 @@ Item {
property int vertexIndex
sourceItem: SplitIndicator {
z: _zorderSplitHandle
z: _zorderSplitHandle
onClicked: mapPolygon.splitPolygonSegment(mapQuickItem.vertexIndex)
}
}
}

Loading…
Cancel
Save