Skip to content

Commit

Permalink
fix(fma): revert font back to medium
Browse files Browse the repository at this point in the history
Reverts fma font back to medium taking into account close up PFD pictures. Armed font should be the same size as AP/ATHR/FD status font.
  • Loading branch information
BravoMike99 committed Sep 29, 2023
1 parent 4578574 commit 73f8bc0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fbw-a32nx/src/systems/instruments/src/PFD/FMA.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Row2 extends DisplayComponent<{ bus: ArincEventBus, isAttExcessive: Subscr
class A2Cell extends DisplayComponent<{ bus: ArincEventBus }> {
private text = Subject.create('');

private className = Subject.create('FontMediumSmaller MiddleAlign Cyan');
private className = Subject.create('FontMedium MiddleAlign Cyan');

private autoBrkRef = FSComponent.createRef<SVGTextElement>();

Expand Down Expand Up @@ -577,7 +577,7 @@ class A3Cell extends DisplayComponent<A3CellProps> {
private handleAutobrakeMode() {
if (this.autobrakeMode === 3 && !this.AB3Message) {
this.textSub.set('BRK MAX');
this.classSub.set('FontMediumSmaller MiddleAlign Cyan');
this.classSub.set('FontMedium MiddleAlign Cyan');
} else {
this.textSub.set('');
}
Expand Down Expand Up @@ -932,15 +932,15 @@ class B2Cell extends DisplayComponent<CellProps> {
this.xposSub.set(clbArmed ? 50.601795 : 41.477474);
this.text1Sub.set(text1);
this.text2Sub.set(text2);
this.classSub.set(`FontMediumSmaller MiddleAlign ${color1}`);
this.classSub.set(`FontMedium MiddleAlign ${color1}`);
});
}

render(): VNode {
return (
<g>
<text class={this.classSub} x={this.xposSub} y="14.329653">{this.text1Sub}</text>
<text class="FontMediumSmaller MiddleAlign Cyan" x="54.59803" y="14.382949">{this.text2Sub}</text>
<text class="FontMedium MiddleAlign Cyan" x="54.59803" y="14.382949">{this.text2Sub}</text>
</g>
);
}
Expand Down Expand Up @@ -1123,7 +1123,7 @@ class C2Cell extends DisplayComponent<CellProps> {

render(): VNode {
return (
<text class="FontMediumSmaller MiddleAlign Cyan" x="84.734184" y="14.440415">{this.textSub}</text>
<text class="FontMedium MiddleAlign Cyan" x="84.734184" y="14.440415">{this.textSub}</text>
);
}
}
Expand Down

0 comments on commit 73f8bc0

Please sign in to comment.