1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +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(){ function hide_display_rcinput(){
console.log("module: "+hide_display_rc);
if (hide_display_rc == false) if (hide_display_rc == false)
hide_display_rc = true; hide_display_rc = true;
else else
@ -92,7 +91,6 @@ Item {
} }
} }
Repeater { Repeater {
id: satNumberBar id: satNumberBar
@ -390,7 +388,7 @@ Item {
states: State { states: State {
name: "fading_heading" name: "fading_heading"
when: TakeOffLocation.Status !== 0 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 { transitions: Transition {
@ -544,7 +542,7 @@ Item {
smooth: true smooth: true
//rotate it around the center of horizon //rotate it around his center
transform: Rotation { transform: Rotation {
angle: ManualControlCommand.Yaw * 90 angle: ManualControlCommand.Yaw * 90
origin.y : rc_stick.height / 2 origin.y : rc_stick.height / 2

View File

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