Browse Source

Work around strange UT only failure

QGC4.4
Don Gagne 10 years ago
parent
commit
d1285c1838
  1. 6
      src/FlightDisplay/FlightDisplayView.qml
  2. 2
      src/FlightMap/MapItems/VehicleMapItem.qml

6
src/FlightDisplay/FlightDisplayView.qml

@ -84,9 +84,9 @@ Item { @@ -84,9 +84,9 @@ Item {
delegate:
VehicleMapItem {
vehicle: object
coordinate: object.coordinate
heading: object.heading
isSatellite: isSatelliteMap
isSatellite: flightMap.isSatelliteMap
}
}
@ -124,7 +124,7 @@ Item { @@ -124,7 +124,7 @@ Item {
id: missionItemSummaryList
anchors.margins: ScreenTools.defaultFontPixelWidth
anchors.left: parent.left
anchors.right: mapWidgets.left
anchors.right: flightMap.mapWidgets.left
anchors.bottom: parent.bottom
height: ScreenTools.defaultFontPixelHeight * 7
spacing: ScreenTools.defaultFontPixelWidth / 2

2
src/FlightMap/MapItems/VehicleMapItem.qml

@ -26,6 +26,7 @@ This file is part of the QGROUNDCONTROL project @@ -26,6 +26,7 @@ This file is part of the QGROUNDCONTROL project
import QtQuick 2.4
import QtLocation 5.3
import QtPositioning 5.3
import QGroundControl.ScreenTools 1.0
import QGroundControl.Vehicle 1.0
@ -37,7 +38,6 @@ MapQuickItem { @@ -37,7 +38,6 @@ MapQuickItem {
anchorPoint.x: vehicleIcon.width / 2
anchorPoint.y: vehicleIcon.height / 2
coordinate: vehicle.coordinate
visible: vehicle.satelliteLock >= 2 // 2D lock
sourceItem: Image {

Loading…
Cancel
Save