Skip to content

Commit

Permalink
Merge pull request mavlink#4894 from DonLakeFlyer/GimbalIndicators
Browse files Browse the repository at this point in the history
Fix gimbal visuals
  • Loading branch information
DonLakeFlyer authored Mar 30, 2017
2 parents 8054656 + e8f1936 commit 0f8466d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QmlControls/MissionItemIndexLabel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f8466d

Please sign in to comment.