|
|
@ -452,8 +452,8 @@ Item { |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.left: parent.left |
|
|
|
anchors.right: parent.right |
|
|
|
anchors.right: parent.right |
|
|
|
orientation: Qt.Vertical |
|
|
|
orientation: Qt.Vertical |
|
|
|
minimumValue: QGroundControl.metersToAppSettingsDistanceUnits(2) |
|
|
|
minimumValue: QGroundControl.metersToAppSettingsDistanceUnits(0) |
|
|
|
maximumValue: QGroundControl.metersToAppSettingsDistanceUnits((_activeVehicle && _activeVehicle.flying) ? 100 : 10) |
|
|
|
maximumValue: QGroundControl.metersToAppSettingsDistanceUnits((_activeVehicle && _activeVehicle.flying) ? Math.round((_activeVehicle.altitudeRelative.value + 100) / 100) * 100 : 10) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|