Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(a380x/pfd): Inverted meter altitude indicator color below and above the MDA #9713

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Loading