1
0
Fork 0

Bugfix upper ECAM

This commit is contained in:
legoboyvdlp R 2020-11-29 14:39:03 +00:00
parent 05e992132d
commit 60969bba6e

View file

@ -1,5 +1,4 @@
var flapsPos = nil;
var elapsedtime = nil;
var LBS2KGS = 0.4535924;
var slatLockGoing = 0;
var slatLockFlash = 0;
@ -508,7 +507,7 @@ var canvas_upperECAM = {
me.updatePower();
if (me.test.getVisible() == 1) {
me.updateTest();
me.updateTest(notification);
}
if (me.group.getVisible() == 0) {
@ -905,8 +904,8 @@ var canvas_upperECAM = {
}
},
updateTest: func() {
if (du3_test_time.getValue() + 1 >= pts.Sim.Time.elapsedSec.getValue()) {
updateTest: func(notification) {
if (du3_test_time.getValue() + 1 >= notification.elapsedTime) {
me["Test_white"].show();
me["Test_text"].hide();
} else {