Skip to content

Commit

Permalink
fix(a380x/efb): Fixed window handle being clickable through flyPad Sc…
Browse files Browse the repository at this point in the history
…reen (#9496)

* fix: defined EFB with no interaction template disabling mouse clicks going through the display

* chore: changelog.md

* feat: switch to our own template for this
  • Loading branch information
2hwk authored Nov 15, 2024
1 parent 322ed63 commit e2d68b9
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
1. [A380X/FMS] Fixed handling of window altitude constraints, deletion of constraints, and formatting - @tracernz (Mike)
1. [A380X/SD] Fix engine fuel flow and fuel used on cruise page still use only ENG 1 + 2 LVars @heclak (heclak)
1. [A380X/ENG] Improved engine fire behaviour - overhead fire pushbuttons silence aural warning and unpowers FADEC - @mjuhe (Miquel Juhe)
1. [A380X/EFB] Fixed being able to click on window open handle through the flyPad screen - @2hwk (2cas)

## 0.12.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1365,4 +1365,15 @@
</Condition>
</UseTemplate>
</Template>

<Template Name="FBW_GT_Interaction_NoInteraction">
<DefaultTemplateParameters>
<DISABLE_MOUSERECT>True</DISABLE_MOUSERECT>
<CURSOR>Hand</CURSOR>
</DefaultTemplateParameters>

<UseTemplate Name="ASOBO_GT_MouseRect">
<CALLBACKCODE>0</CALLBACKCODE>
</UseTemplate>
</Template>
</ModelBehaviors>
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@
<UseTemplate Name="ASOBO_GT_Material_Emissive_Code">
<EMISSIVE_CODE>(L:A32NX_EFB_BRIGHTNESS, number) 10 max 100 min 100 /</EMISSIVE_CODE>
</UseTemplate>
<UseTemplate Name="FBW_GT_Interaction_NoInteraction"/>
</Component>
<Component ID="PUSH_EFB_SIDE" Node="PUSH_EFB_SIDE">
<UseTemplate Name="ASOBO_GT_Push_Button">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1081,4 +1081,15 @@
</Condition>
</UseTemplate>
</Template>

<Template Name="FBW_GT_Interaction_NoInteraction">
<DefaultTemplateParameters>
<DISABLE_MOUSERECT>True</DISABLE_MOUSERECT>
<CURSOR>Hand</CURSOR>
</DefaultTemplateParameters>

<UseTemplate Name="ASOBO_GT_MouseRect">
<CALLBACKCODE>0</CALLBACKCODE>
</UseTemplate>
</Template>
</ModelBehaviors>

0 comments on commit e2d68b9

Please sign in to comment.