A32X: Fix AGL Alt not rotating on Canvas PFD
This commit is contained in:
parent
39de560e77
commit
2eb8798548
3 changed files with 26 additions and 18 deletions
|
@ -10,7 +10,7 @@
|
|||
|
||||
<sim>
|
||||
|
||||
<author>it0uchpods Design Group: Joshua Davidson (it0uchpods), Jonathan Redpath (legoboyvdlp), Charlie Schwehm (Wecsje), J Maverick 16, Thorsten Herrmann (TH-555)</author>
|
||||
<author>it0uchpods Design Group: Joshua Davidson (it0uchpods), Jonathan Redpath (legoboyvdlp), Thorsten Herrmann (TH-555)</author>
|
||||
|
||||
<status>Pre V1.0</status>
|
||||
|
||||
|
|
|
@ -114,7 +114,7 @@ var canvas_PFD_1 = {
|
|||
getKeys: func() {
|
||||
return ["FMA_man","FMA_manmode","FMA_flxtemp","FMA_thrust","FMA_lvrclb","FMA_pitch","FMA_pitcharm","FMA_pitcharm2","FMA_roll","FMA_rollarm","FMA_combined","FMA_ctr_msg","FMA_catmode","FMA_cattype","FMA_nodh","FMA_dh","FMA_dhn","FMA_ap","FMA_fd",
|
||||
"FMA_athr","FMA_man_box","FMA_flx_box","FMA_thrust_box","FMA_pitch_box","FMA_pitcharm_box","FMA_roll_box","FMA_rollarm_box","FMA_combined_box","FMA_catmode_box","FMA_cattype_box","FMA_cat_box","FMA_dh_box","FMA_ap_box","FMA_fd_box","FMA_athr_box",
|
||||
"FMA_Middle1","FMA_Middle2","ASI_scale","ASI_target","ASI_mach","ASI_mach_decimal","ASI_ten_sec","AI_center","AI_bank","AI_slipskid","AI_horizon","AI_horizon_ground","AI_horizon_sky","AI_agl","FD_roll","FD_pitch","ALT_digits","ALT_tens","VS_pointer",
|
||||
"FMA_Middle1","FMA_Middle2","ASI_scale","ASI_target","ASI_mach","ASI_mach_decimal","ASI_ten_sec","AI_center","AI_bank","AI_slipskid","AI_horizon","AI_horizon_ground","AI_horizon_sky","AI_agl_g","AI_agl","FD_roll","FD_pitch","ALT_digits","ALT_tens","VS_pointer",
|
||||
"VS_box","VS_digit","QNH","QNH_setting","QNH_std","QNH_box","LOC_pointer","LOC_scale","GS_scale","GS_pointer","HDG_target"];
|
||||
},
|
||||
update: func() {
|
||||
|
@ -431,6 +431,8 @@ var canvas_PFD_1 = {
|
|||
me["AI_agl"].hide();
|
||||
}
|
||||
|
||||
me["AI_agl_g"].setRotation(-roll * D2R);
|
||||
|
||||
# Altitude
|
||||
me["ALT_digits"].setText(sprintf("%s", getprop("/instrumentation/altimeter/indicated-altitude-ft-pfd")));
|
||||
altTens = num(right(sprintf("%02d", getprop("/instrumentation/altimeter/indicated-altitude-ft")), 2));
|
||||
|
|
|
@ -41,9 +41,9 @@
|
|||
inkscape:window-height="1030"
|
||||
id="namedview371"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.4142136"
|
||||
inkscape:cx="949.68918"
|
||||
inkscape:cy="635.21338"
|
||||
inkscape:zoom="4"
|
||||
inkscape:cx="630.07835"
|
||||
inkscape:cy="656.19794"
|
||||
inkscape:window-x="1592"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
|
@ -2391,7 +2391,7 @@
|
|||
<g
|
||||
id="AI_bank"
|
||||
inkscape:label="#g4313"
|
||||
inkscape:transform-center-y="-246.30033">
|
||||
inkscape:transform-center-y="-246.1722">
|
||||
<path
|
||||
inkscape:transform-center-y="-258.88333"
|
||||
inkscape:label="#path905"
|
||||
|
@ -3042,17 +3042,23 @@
|
|||
x="907.61713"
|
||||
id="tspan977"
|
||||
sodipodi:role="line">STD</tspan></text>
|
||||
<text
|
||||
transform="scale(0.87678236,1.1405339)"
|
||||
id="AI_agl"
|
||||
y="680.72845"
|
||||
x="511.25748"
|
||||
style="font-style:normal;font-weight:normal;font-size:28.05622673px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:0.65757734"
|
||||
xml:space="preserve"
|
||||
inkscape:label="#text983"><tspan
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';text-align:center;text-anchor:middle;fill:#0dc04b;fill-opacity:1;stroke-width:0.65757734"
|
||||
y="680.72845"
|
||||
<g
|
||||
id="AI_agl_g"
|
||||
inkscape:transform-center-y="245.55742"
|
||||
inkscape:label="#g4612">
|
||||
<text
|
||||
inkscape:transform-center-y="245.55937"
|
||||
inkscape:label="#text983"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:28.05622673px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#0dc04b;fill-opacity:1;stroke:none;stroke-width:0.65757734"
|
||||
x="511.25748"
|
||||
id="tspan4624"
|
||||
sodipodi:role="line">0000</tspan></text>
|
||||
y="680.72845"
|
||||
id="AI_agl"
|
||||
transform="scale(0.87678236,1.1405339)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan4624"
|
||||
x="511.25748"
|
||||
y="680.72845"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';text-align:center;text-anchor:middle;fill:#0dc04b;fill-opacity:1;stroke-width:0.65757734">0000</tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
Reference in a new issue