Skip to content

Commit

Permalink
feat(A380X/SD): Add brake temperature color change to amber when brak…
Browse files Browse the repository at this point in the history
…es hot (#9550)

* feat(A380X/SD): Add brake temperature color change to amber when exceeding 300 degrees celcius

* docs: add changelog
  • Loading branch information
heclak authored Dec 6, 2024
1 parent cacb841 commit 5c8071b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@
1. [A380X] Fix EWD avail. thrust fill area & PFD rudder trim visibility on ground - @flogross89 (floridude)
1. [A380X/LIGHTS] Fix function of FCU brightness knobs - @heclak (Heclak)
1. [A380X/FWS] Fix "NO ZFW OR ZFWCG DATA" ECAM alert after landing - @flogross89 (floridude)
1. [A380X/SD] Add brake temperature color change to amber when brakes are hot - @heclak (Heclak)


## 0.12.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const Wheel: FC<WheelProps> = ({ x, y, number, isLeftSide, hasBrake, more
d={`m ${negativeSign}15,18 v -36 M ${negativeSign}21,18 v -36 M ${negativeSign}27,18 v -36 M ${negativeSign}33,18 v -36`}
/>
<path className="BackgroundFill" d={`m ${isLeftSide ? -18 : 70},-13 h -50 v -24 h 50 z`} />
<text className="F26 Green EndAlign" x={isLeftSide ? -16 : 72} y={-16}>
<text className={`F26 EndAlign ${brakeTemp > 300 ? 'Amber' : 'Green'}`} x={isLeftSide ? -16 : 72} y={-16}>
{roundTemperature(brakeTemp)}
</text>
</>
Expand Down

0 comments on commit 5c8071b

Please sign in to comment.