-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat(a380x/oans): EXIT missed, flags/crosses, visual fixes #9725
base: master
Are you sure you want to change the base?
Conversation
ec3c825
to
f334ad1
Compare
@@ -4982,6 +4982,9 @@ | |||
</Component> | |||
|
|||
<Component ID="Overhead_Reset_Panel"> | |||
<UseTemplate Name="FBW_Airbus_RESET_PANEL_BUTTON"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably extract this to its own .xml
file at some point, like other newer behaviours. Probably not in this PR though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, makes sense to tackle this in a dedicated PR
# Conflicts: # fbw-a380x/src/systems/instruments/src/ND/OansControlPanel.tsx # fbw-a380x/src/systems/instruments/src/ND/instrument.tsx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are those images meant to be duplicated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I converted these to png to improve performance after a request from tracer, but wanted to keep the SVG source files.
fbw-a380x/src/systems/instruments/src/MFD/pages/common/MouseCursor.tsx
Outdated
Show resolved
Hide resolved
true, | ||
); | ||
|
||
private readonly fillColor = this.color.map((c) => (c === MouseCursorColor.MAGENTA ? '#ff94ff' : '#ffff00')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaked subscription
@@ -141,12 +178,18 @@ export class OansControlPanel extends DisplayComponent<OansProps> { | |||
this.pposLongWord, | |||
); | |||
|
|||
private readonly setPlanModeDisplay = ConsumerSubject.create(this.sub.on('oans_show_set_plan_mode'), false).map( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaked subscription
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you elaborate a bit on that? Is the .map leaking or the this.sub.on ?
fbw-common/src/systems/instruments/src/OANC/OancMarkerManager.ts
Outdated
Show resolved
Hide resolved
fbw-common/src/systems/instruments/src/OANC/OancMarkerManager.ts
Outdated
Show resolved
Hide resolved
fbw-common/src/systems/instruments/src/OANC/OancMarkerManager.ts
Outdated
Show resolved
Hide resolved
@@ -51,7 +51,7 @@ export class OancMovingModeOverlay extends DisplayComponent<OancMapOverlayProps> | |||
bus={this.props.bus} | |||
visible={this.roseModeVisible} | |||
rotation={this.props.rotation.map((r) => { | |||
const word = Arinc429Word.empty(); | |||
const word = Arinc429Register.empty(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still allocates an object every time. This is meant to be stored as a class property and updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed it, hope it's better now
fbw-common/src/systems/instruments/src/OANC/OancControlPanelUtils.ts
Outdated
Show resolved
Hide resolved
bfb07e2
to
816ca4c
Compare
# Conflicts: # .github/CHANGELOG.md
Fixes #9672
Fixes #9514
Fixes #9798
Summary of Changes
Out of scope:
Screenshots (if necessary)
References
Additional context
Discord username (if different from GitHub):
Testing instructions
Build: https://www.swisstransfer.com/d/64a37f95-7134-41e4-a725-f8154c196e90 (use this instead of the GitHub build)
How to download the PR for QA
Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.