Skip to content

Commit

Permalink
fix(pfd): correctly shorten border when AB3 message is displayed (#6883)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecologne authored Mar 10, 2022
1 parent eb16b24 commit ba9ba9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instruments/src/PFD/FMA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const FMA = ({ isAttExcessive }) => {
const engineMessage = getSimVar('L:A32NX_AUTOTHRUST_MODE_MESSAGE', 'enum');
const BC3Message = getBC3Message(isAttExcessive)[0] !== null;
const AB3Message = (getSimVar('L:A32NX_MachPreselVal', 'mach') !== -1
|| getSimVar('L:A32NX_SpeedPreselVal', 'knots') !== -1) && BC3Message && engineMessage === 0;
|| getSimVar('L:A32NX_SpeedPreselVal', 'knots') !== -1) && !BC3Message && engineMessage === 0;

let secondBorder: string;
if (sharedModeActive && !isAttExcessive) {
Expand Down

0 comments on commit ba9ba9b

Please sign in to comment.