Commit 0f8466d6 authored by Don Gagne's avatar Don Gagne Committed by GitHub

Merge pull request #4894 from DonLakeFlyer/GimbalIndicators

Fix gimbal visuals
parents 80546567 e8f1936e
......@@ -25,7 +25,7 @@ Canvas {
property real vehicleYaw
property bool showGimbalYaw: false
property real _width: showGimbalYaw ? Math.max(_gimbalWidth, labelControl.visible ? labelControl.width : indicator.width) : (labelControl.visible ? labelControl.width : indicator.width)
property real _width: showGimbalYaw ? Math.max(_gimbalYawWidth, labelControl.visible ? labelControl.width : indicator.width) : (labelControl.visible ? labelControl.width : indicator.width)
property real _height: showGimbalYaw ? _gimbalYawWidth : (labelControl.visible ? labelControl.height : indicator.height)
property real _gimbalYawRadius: ScreenTools.defaultFontPixelHeight
property real _gimbalYawWidth: _gimbalYawRadius * 2
......
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