Browse Source

Fix center drag and split side

QGC4.4
DonLakeFlyer 6 years ago
parent
commit
ef03a2beee
  1. 1
      src/FlightMap/MapItems/MissionItemIndicatorDrag.qml
  2. 1
      src/MissionManager/QGCMapPolygonVisuals.qml

1
src/FlightMap/MapItems/MissionItemIndicatorDrag.qml

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

1
src/MissionManager/QGCMapPolygonVisuals.qml

@ -300,6 +300,7 @@ Item {
sourceItem: SplitIndicator { sourceItem: SplitIndicator {
z: _zorderSplitHandle z: _zorderSplitHandle
onClicked: mapPolygon.splitPolygonSegment(mapQuickItem.vertexIndex)
} }
} }
} }

Loading…
Cancel
Save