From ae438cadf81020e76a9331847a6b64413bd1857a Mon Sep 17 00:00:00 2001 From: Albert R Date: Sat, 4 Jan 2025 15:03:01 -0400 Subject: [PATCH 1/3] fix: inverted meter altitude indicator behavior --- 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 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'); From 6891e439ed712f8acbb374334144884893dba75b Mon Sep 17 00:00:00 2001 From: Albert R Date: Sat, 4 Jan 2025 16:12:26 -0400 Subject: [PATCH 2/3] Update CHANGELOG.md --- .github/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 015fa7ec4b3..5ecd12b1c59 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 ## 0.12.0 From 56fdcf36eaafab2bafb7e4bfa771042abb9d7820 Mon Sep 17 00:00:00 2001 From: Albert R Date: Sat, 4 Jan 2025 16:15:27 -0400 Subject: [PATCH 3/3] Update CHANGELOG.md --- .github/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 5ecd12b1c59..53e9df1714e 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -110,7 +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 +1. [A380X/PDF] Fix inverted color in the meter altitude indicator below and above the MDA - @ItzARz (Albert) ## 0.12.0