Skip to content

Commit

Permalink
fix(a380x/mfd): update leg def param input visibility (flybywiresim#9305
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dennisko762 committed Nov 13, 2024
1 parent 305d6af commit ea9ccef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
1. [A380/WING_FLEX] Reduced stiffness of wings for more tip up bend - @Crocket63 (crocket)
1. [A380X/FWS] Add V1 callout - @flogross89 (floridude)
1. [FMS] Fix existing T-P moving when inserting temporary flight plan - @Benjozork (Benjamin Dupont)
1. [A380X/MFD] Fix hold page leg defining parameter input visibility not updated correctly - @dennisko762 (dennis762)

## 0.12.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ export class MfdFmsFplnHold extends FmsPage<MfdFmsFplnHoldProps> {
this.waypointIdent.set(leg?.ident ?? '');
this.inboundCourse.set(hold.inboundMagneticCourse ?? null);
this.turnSelectedIndex.set(hold?.turnDirection === TurnDirection.Left ? 0 : 1);
this.legDefiningParameterSelectedIndex.set(hold?.time !== undefined ? 0 : 1);
this.legTime.set(hold?.time ?? null);
this.legDefiningParameterSelectedIndex.set(
hold?.distance != null ? 1 : hold?.time != null ? 0 : this.legDefiningParameterSelectedIndex.get(),
); this.legTime.set(hold?.time ?? null);
this.legDistance.set(hold?.distance ?? null);

this.lastExitUtc.set('--:--');
Expand Down

0 comments on commit ea9ccef

Please sign in to comment.