A3XX: MCDU Bugfix, PFD Update

Fix a bug where entering a route does not clear the scratchpad
Make the PFD speed trend Yellow
This commit is contained in:
Joshua Davidson 2017-06-05 10:19:40 -04:00
parent b034b9475e
commit ef2abfe6c0
3 changed files with 2 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View file

@ -215,6 +215,7 @@ var initInputA = func(key) {
setprop("/FMGC/internal/dep-arpt", fromto[0]);
setprop("/FMGC/internal/arr-arpt", fromto[1]);
setprop("/FMGC/internal/tofrom-set", 1);
setprop("/MCDU[0]/scratchpad", "");
fmgc.updateARPT();
} else {
setprop("/MCDU[0]/scratchpad-msg", "1");

View file

@ -215,6 +215,7 @@ var initInputA = func(key) {
setprop("/FMGC/internal/dep-arpt", fromto[0]);
setprop("/FMGC/internal/arr-arpt", fromto[1]);
setprop("/FMGC/internal/tofrom-set", 1);
setprop("/MCDU[1]/scratchpad", "");
fmgc.updateARPT();
} else {
setprop("/MCDU[1]/scratchpad-msg", "1");