PFD: set font size of RA
This commit is contained in:
parent
ac324d064a
commit
c892f7a786
1 changed files with 26 additions and 0 deletions
|
@ -1553,7 +1553,13 @@ var canvas_pfd = {
|
|||
me["AI_agl"].show();
|
||||
if (notification.agl <= notification.decision) {
|
||||
me["AI_agl"].setColor(0.7333,0.3803,0);
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
if (notification.agl <= 400) {
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
me["AI_agl"].setFontSize(45);
|
||||
}
|
||||
me["AI_agl"].setColor(0.0509,0.7529,0.2941);
|
||||
}
|
||||
} else {
|
||||
|
@ -1572,7 +1578,13 @@ var canvas_pfd = {
|
|||
minimum.setValue(notification.radio);
|
||||
if (notification.agl <= notification.radio + 100) {
|
||||
me["AI_agl"].setColor(0.7333,0.3803,0);
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
if (notification.agl <= 400) {
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
me["AI_agl"].setFontSize(45);
|
||||
}
|
||||
me["AI_agl"].setColor(0.0509,0.7529,0.2941);
|
||||
}
|
||||
} else if (int(notification.baro) != 99999) {
|
||||
|
@ -1585,7 +1597,13 @@ var canvas_pfd = {
|
|||
minimum.setValue(notification.baro);
|
||||
if (notification.agl <= notification.baro + 100) {
|
||||
me["AI_agl"].setColor(0.7333,0.3803,0);
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
if (notification.agl <= 400) {
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
me["AI_agl"].setFontSize(45);
|
||||
}
|
||||
me["AI_agl"].setColor(0.0509,0.7529,0.2941);
|
||||
}
|
||||
} else if (fmgc.FMGCInternal.radioNo) {
|
||||
|
@ -1596,6 +1614,12 @@ var canvas_pfd = {
|
|||
me["FMA_nodh"].hide();
|
||||
hundredAbove.setValue(100);
|
||||
minimum.setValue(0);
|
||||
if (notification.agl <= 400) {
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
me["AI_agl"].setFontSize(45);
|
||||
}
|
||||
|
||||
if (notification.agl <= 100) {
|
||||
me["AI_agl"].setColor(0.7333,0.3803,0);
|
||||
} else {
|
||||
|
@ -1609,8 +1633,10 @@ var canvas_pfd = {
|
|||
minimum.setValue(300);
|
||||
if (notification.agl <= 400) {
|
||||
me["AI_agl"].setColor(0.7333,0.3803,0);
|
||||
me["AI_agl"].setFontSize(60);
|
||||
} else {
|
||||
me["AI_agl"].setColor(0.0509,0.7529,0.2941);
|
||||
me["AI_agl"].setFontSize(45);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue