1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-29 07:24:13 +01:00

OP-1438 VSI_Arc_PFD+Status : Typo (CruiseCtrl), little cleanup

This commit is contained in:
Laurent Lalanne 2014-08-20 13:32:19 +02:00
parent 8d0f4e71ea
commit 8447f474fd
2 changed files with 15 additions and 17 deletions

View File

@ -63,7 +63,6 @@ Item {
}
function hide_display_rcinput(){
console.log("module: "+hide_display_rc);
if (hide_display_rc == false)
hide_display_rc = true;
else
@ -92,7 +91,6 @@ Item {
}
}
Repeater {
id: satNumberBar
@ -390,7 +388,7 @@ Item {
states: State {
name: "fading_heading"
when: TakeOffLocation.Status !== 0
PropertyChanges { target: home_heading_text; x: Math.floor(scaledBounds.x * sceneItem.width) + home_bg.width }
PropertyChanges { target: home_heading_text; x: Math.floor(scaledBounds.x * sceneItem.width) + home_bg.width; }
}
transitions: Transition {
@ -539,12 +537,12 @@ Item {
width: scaledBounds.width * sceneItem.width
height: scaledBounds.height * sceneItem.height
x: (scaledBounds.x * sceneItem.width) + (ManualControlCommand.Roll * rc_stick.width *2.5)
x: (scaledBounds.x * sceneItem.width) + (ManualControlCommand.Roll * rc_stick.width * 2.5)
y: (scaledBounds.y * sceneItem.height) + (ManualControlCommand.Pitch * rc_stick.width * 2.5)
smooth: true
//rotate it around the center of horizon
//rotate it around his center
transform: Rotation {
angle: ManualControlCommand.Yaw * 90
origin.y : rc_stick.height / 2

View File

@ -227,7 +227,7 @@ Item {
Text {
anchors.centerIn: parent
text: ["MANUAL"," "," ", " ", " ", " ", " ", " ", " ",
"ALT HOLD", "ALT VARIO", "CRUIZECTRL", "AUTO"][thrust_mode.toString()]
"ALT HOLD", "ALT VARIO", "CRUISECTRL", "AUTO"][thrust_mode.toString()]
font {
family: "Arial"
pixelSize: Math.floor(parent.height * 0.8)