Commit 7a4fcc86 authored by DonLakeFlyer's avatar DonLakeFlyer

parent 72acf81e
...@@ -30,7 +30,7 @@ Canvas { ...@@ -30,7 +30,7 @@ Canvas {
property real _height: showGimbalYaw ? _gimbalYawWidth : (labelControl.visible ? labelControl.height : indicator.height) property real _height: showGimbalYaw ? _gimbalYawWidth : (labelControl.visible ? labelControl.height : indicator.height)
property real _gimbalYawRadius: ScreenTools.defaultFontPixelHeight property real _gimbalYawRadius: ScreenTools.defaultFontPixelHeight
property real _gimbalYawWidth: _gimbalYawRadius * 2 property real _gimbalYawWidth: _gimbalYawRadius * 2
property real _smallRadius: (ScreenTools.defaultFontPixelHeight * ScreenTools.smallFontPointRatio) / 2 property real _smallRadius: ((ScreenTools.defaultFontPixelHeight * ScreenTools.smallFontPointRatio) / 2) + 1
property real _normalRadius: ScreenTools.defaultFontPixelHeight * 0.66 property real _normalRadius: ScreenTools.defaultFontPixelHeight * 0.66
property real _indicatorRadius: small ? _smallRadius : _normalRadius property real _indicatorRadius: small ? _smallRadius : _normalRadius
property real _gimbalRadians: degreesToRadians(vehicleYaw + gimbalYaw - 90) property real _gimbalRadians: degreesToRadians(vehicleYaw + gimbalYaw - 90)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment