Browse Source

Center sat count

QGC4.4
Don Gagne 9 years ago
parent
commit
92272a102f
  1. 2
      src/ui/toolbar/MainToolBarIndicators.qml

2
src/ui/toolbar/MainToolBarIndicators.qml

@ -139,12 +139,14 @@ Row {
anchors.left: gpsIcon.right anchors.left: gpsIcon.right
QGCLabel { QGCLabel {
anchors.horizontalCenter: hdopValue.horizontalCenter
visible: activeVehicle && !isNaN(activeVehicle.gps.hdop.value) visible: activeVehicle && !isNaN(activeVehicle.gps.hdop.value)
color: qgcPal.buttonText color: qgcPal.buttonText
text: activeVehicle ? activeVehicle.gps.count.valueString : "" text: activeVehicle ? activeVehicle.gps.count.valueString : ""
} }
QGCLabel { QGCLabel {
id: hdopValue
visible: activeVehicle && !isNaN(activeVehicle.gps.hdop.value) visible: activeVehicle && !isNaN(activeVehicle.gps.hdop.value)
color: qgcPal.buttonText color: qgcPal.buttonText
text: activeVehicle ? activeVehicle.gps.hdop.value.toFixed(1) : "" text: activeVehicle ? activeVehicle.gps.hdop.value.toFixed(1) : ""

Loading…
Cancel
Save