From 31a6dcff378c78ac85c0192402a538dcfba165e7 Mon Sep 17 00:00:00 2001 From: Matthew Maring <56924612+hayden2000@users.noreply.github.com> Date: Sun, 19 Apr 2020 22:32:06 -0400 Subject: [PATCH] Update PERF pages to newer format --- Models/Instruments/MCDU/MCDU.nas | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Models/Instruments/MCDU/MCDU.nas b/Models/Instruments/MCDU/MCDU.nas index ff38ff6e..6dae98f5 100644 --- a/Models/Instruments/MCDU/MCDU.nas +++ b/Models/Instruments/MCDU/MCDU.nas @@ -1901,8 +1901,8 @@ var canvas_MCDU_base = { me["Simple_L0S"].hide(); me.showLeftS(1, 1, 1, 1, 1, 1); me.showLeftArrow(-1, -1, -1, -1, -1, 1); - me.showRight(1, 1, 1, 1, 1, 1); - me.showRightS(1, 1, 1, 1, 1, 1); + me.showRight(-1, 1, 1, 1, 1, 1); + me.showRightS(-1, 1, 1, 1, 1, 1); me.showRightArrow(-1, -1, -1, -1, -1, 1); me.showCenter(1, 1, 1, -1, -1, -1); me.showCenterS(1, 1, 1, -1, -1, -1); @@ -1956,6 +1956,12 @@ var canvas_MCDU_base = { me["Simple_Title"].setColor(1, 1, 1); } + if (fmgc.flightPlanController.flightplans[2].departure_runway != nil) { + me["Simple_Title"].setText(sprintf("TAKE OFF RWY %s", fmgc.flightPlanController.flightplans[2].departure_runway.id)); + } else { + me["Simple_Title"].setText("TAKE OFF"); + } + if (v1Set.getValue() == 1) { me["PERFTO_V1"].hide(); me["Simple_L1"].show(); @@ -1983,12 +1989,6 @@ var canvas_MCDU_base = { me["Simple_L5"].setFontSize(small); } - if (fmgc.flightPlanController.flightplans[2].departure_runway != nil) { - me["Simple_R1"].setText(sprintf("%s",fmgc.flightPlanController.flightplans[2].departure_runway.id)); - } else { - me["Simple_R1"].setText("--- "); - } - if (flapTHSSet.getValue() == 1) { me["Simple_R3"].setFont(default); me["Simple_R3"].setFontSize(normal); @@ -2606,8 +2606,10 @@ var canvas_MCDU_base = { me["Simple_R1S"].setText("FINAL"); if (fmgc.flightPlanController.flightplans[2].approach != nil) { me["Simple_R1"].setText(sprintf("%s",fmgc.flightPlanController.flightplans[2].approach.id)); + me["Simple_R1"].setColor(GREEN); } else { me["Simple_R1"].setText("--- "); + me["Simple_R1"].setColor(WHITE); } me["Simple_R2S"].setText("BARO");