From bc171f06e705f9444258fc5984c086a14fed6daa Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 5 Apr 2017 14:55:15 -0700 Subject: [PATCH] Fix center map tool drop position --- .../QMLControl/OfflineMap.qml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/QtLocationPlugin/QMLControl/OfflineMap.qml b/src/QtLocationPlugin/QMLControl/OfflineMap.qml index 7bb3c7713..7a2642ecd 100644 --- a/src/QtLocationPlugin/QMLControl/OfflineMap.qml +++ b/src/QtLocationPlugin/QMLControl/OfflineMap.qml @@ -345,17 +345,6 @@ QGCView { anchors.fill: parent } - CenterMapDropButton { - anchors.margins: _margins - anchors.left: parent.left - anchors.top: parent.top - map: _map - z: QGroundControl.zOrderTopMost - showMission: false - showAllItems: false - visible: addNewSetView.visible - } - MapScale { anchors.leftMargin: ScreenTools.defaultFontPixelWidth / 2 anchors.bottomMargin: anchors.leftMargin @@ -602,6 +591,17 @@ QGCView { } // Map } } // Item - Add new set view + + CenterMapDropButton { + topMargin: 0 + anchors.margins: _margins + anchors.left: map.left + anchors.top: map.top + map: _map + showMission: false + showAllItems: false + visible: addNewSetView.visible + } } // Map //-- Add new set dialog -- 2.22.0