diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 015fa7ec4b3..53e9df1714e 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -110,6 +110,7 @@ 1. [ATC/TCAS] Fixed TCAS failure on baro corrected altitude going invalid - @tracernz (Mike) 1. [ATC/TCAS] Fixed TCAS slant range computation - @tracernz (Mike) 1. [A380X] Add baro unit (hPa/in.Hg) auto selection - @tracernz (Mike) +1. [A380X/PDF] Fix inverted color in the meter altitude indicator below and above the MDA - @ItzARz (Albert) ## 0.12.0 diff --git a/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx b/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx index a176a2db44a..d8581499de8 100644 --- a/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx +++ b/fbw-a380x/src/systems/instruments/src/PFD/AltitudeIndicator.tsx @@ -933,7 +933,7 @@ class MetricAltIndicator extends DisplayComponent<{ bus: EventBus }> { this.metricAltTargetText.instance.classList.replace('Magenta', 'Cyan'); } - if (this.state.altitude.value > this.state.MDA) { + if (this.state.altitude.value < this.state.MDA) { this.metricAltText.instance.classList.replace('Green', 'Amber'); } else { this.metricAltText.instance.classList.replace('Amber', 'Green');