From d9d63904ebedb543a08c5c836781e2cdda1712ca Mon Sep 17 00:00:00 2001 From: Saschl <19493808+Saschl@users.noreply.github.com> Date: Wed, 23 Oct 2024 16:32:01 +0200 Subject: [PATCH] fix(a380x): do not show landing elevation on pfd during takeoff (#9124) fix: do not show landing elevation on pfd during takeoff --- fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx b/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx index 3b00fe97375..a176a2db44a 100644 --- a/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx +++ b/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx @@ -37,7 +37,7 @@ class LandingElevationIndicator extends DisplayComponent<{ bus: ArincEventBus }> const delta = this.altitude - this.landingElevation.value; const offset = ((delta - DisplayRange) * DistanceSpacing) / ValueSpacing; this.delta = delta; - if (delta > DisplayRange || (this.flightPhase !== 7 && this.flightPhase !== 8) || !landingElevationValid) { + if (delta > DisplayRange || (this.flightPhase !== 9 && this.flightPhase !== 10) || !landingElevationValid) { this.landingElevationIndicator.instance.classList.add('HiddenElement'); } else { this.landingElevationIndicator.instance.classList.remove('HiddenElement');