From ec10c59e72b66bb255a66648f0006e5ee7bd47fd Mon Sep 17 00:00:00 2001 From: DonLakeFlyer Date: Wed, 8 Jul 2020 11:11:59 -0700 Subject: [PATCH] Gradient units are degrees --- src/PlanView/PlanToolBarIndicators.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlanView/PlanToolBarIndicators.qml b/src/PlanView/PlanToolBarIndicators.qml index 0cdb63bd1..e7a84990f 100644 --- a/src/PlanView/PlanToolBarIndicators.qml +++ b/src/PlanView/PlanToolBarIndicators.qml @@ -52,7 +52,7 @@ Item { property string _distanceText: isNaN(_distance) ? "-.-" : QGroundControl.unitsConversion.metersToAppSettingsHorizontalDistanceUnits(_distance).toFixed(1) + " " + QGroundControl.unitsConversion.appSettingsHorizontalDistanceUnitsString property string _altDifferenceText: isNaN(_altDifference) ? "-.-" : QGroundControl.unitsConversion.metersToAppSettingsHorizontalDistanceUnits(_altDifference).toFixed(1) + " " + QGroundControl.unitsConversion.appSettingsHorizontalDistanceUnitsString - property string _gradientText: isNaN(_gradient) ? "-.-" : _gradient.toFixed(0) + " %" + property string _gradientText: isNaN(_gradient) ? "-.-" : _gradient.toFixed(0) + " deg" property string _azimuthText: isNaN(_azimuth) ? "-.-" : Math.round(_azimuth) % 360 property string _headingText: isNaN(_azimuth) ? "-.-" : Math.round(_heading) % 360 property string _missionDistanceText: isNaN(_missionDistance) ? "-.-" : QGroundControl.unitsConversion.metersToAppSettingsHorizontalDistanceUnits(_missionDistance).toFixed(0) + " " + QGroundControl.unitsConversion.appSettingsHorizontalDistanceUnitsString -- 2.22.0