Unverified Commit 4f44cd18 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #8042 from DonLakeFlyer/CenterDrag

QGCMapPolygon: Fix center drag and split side
parents dad65237 ef03a2be
......@@ -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
......
......@@ -299,7 +299,8 @@ Item {
property int vertexIndex
sourceItem: SplitIndicator {
z: _zorderSplitHandle
z: _zorderSplitHandle
onClicked: mapPolygon.splitPolygonSegment(mapQuickItem.vertexIndex)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment