mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-21 11:54:15 +01:00
OP-1887 GPS tooltip info : Remove decimals
This commit is contained in:
parent
888df0cb30
commit
3ea01e0fb9
@ -85,8 +85,8 @@ Item {
|
|||||||
|
|
||||||
property real bar_width: (info_bg.height + info_bg.width) / 110
|
property real bar_width: (info_bg.height + info_bg.width) / 110
|
||||||
property int satsInView: String(GPSSatellites.SatsInView).charCodeAt(0)
|
property int satsInView: String(GPSSatellites.SatsInView).charCodeAt(0)
|
||||||
property variant gps_tooltip: "Altitude : "+GPSPositionSensor.Altitude +"m\n"+
|
property variant gps_tooltip: "Altitude : "+GPSPositionSensor.Altitude.toFixed(2) +"m\n"+
|
||||||
"H/V/P DOP : "+GPSPositionSensor.HDOP+"/"+GPSPositionSensor.VDOP+"/"+GPSPositionSensor.PDOP+"m\n"+
|
"H/V/P DOP : "+GPSPositionSensor.HDOP.toFixed(2)+"/"+GPSPositionSensor.VDOP.toFixed(2)+"/"+GPSPositionSensor.PDOP.toFixed(2)+"m\n"+
|
||||||
satsInView+" Sats in view"
|
satsInView+" Sats in view"
|
||||||
|
|
||||||
Repeater {
|
Repeater {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user