From 1d7ee06abb8fb8a796b3d45d47ae7cb113592371 Mon Sep 17 00:00:00 2001 From: legoboyvdlp R Date: Thu, 29 Oct 2020 12:10:46 +0000 Subject: [PATCH] In N1 mode, hide the EPR TLA --- Models/Instruments/Upper-ECAM/Upper-ECAM.new.nas | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Models/Instruments/Upper-ECAM/Upper-ECAM.new.nas b/Models/Instruments/Upper-ECAM/Upper-ECAM.new.nas index 9346b083..58ad8169 100644 --- a/Models/Instruments/Upper-ECAM/Upper-ECAM.new.nas +++ b/Models/Instruments/Upper-ECAM/Upper-ECAM.new.nas @@ -369,18 +369,22 @@ var canvas_upperECAM = { if (fadec.FADEC.Eng1.n1 == 1 and val) { obj["N11-thr"].show(); obj["N11-ylim"].hide(); # Keep it hidden, since N1 mode limit calculation is not done yet + obj["EPR1-thr"].hide(); } else { obj["N11-thr"].hide(); obj["N11-ylim"].hide(); + obj["EPR1-thr"].show(); } }), props.UpdateManager.FromHashValue("N1_mode_2", nil, func(val) { if (fadec.FADEC.Eng2.n1 == 1 and val) { obj["N12-thr"].show(); obj["N12-ylim"].hide(); # Keep it hidden, since N1 mode limit calculation is not done yet + obj["EPR2-thr"].hide(); } else { obj["N12-thr"].hide(); obj["N12-ylim"].hide(); + obj["EPR2-thr"].show(); } }), ];