Skip to content

Commit

Permalink
fix(a380x): do not show landing elevation on pfd during takeoff (#9124)
Browse files Browse the repository at this point in the history
fix: do not show landing elevation on pfd during takeoff
(cherry picked from commit d9d6390)
  • Loading branch information
Saschl authored and flogross89 committed Oct 23, 2024
1 parent 354f701 commit f7421e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit f7421e1

Please sign in to comment.