Skip to content

Commit

Permalink
fix(a380x): do not show landing elevation on pfd during takeoff (flyb…
Browse files Browse the repository at this point in the history
…ywiresim#9124)

fix: do not show landing elevation on pfd during takeoff
  • Loading branch information
Saschl authored Oct 23, 2024
1 parent 266356e commit d9d6390
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 d9d6390

Please sign in to comment.