Skip to content

Fixes buttons of secondary keyboard layouts not making any sound - #648

Merged
marlenaklein-msft merged 2 commits into
MixedRealityToolkit:mainfrom
LocalJoost:bugfix/NonNativeKeyboardAudio
Feb 20, 2024
Merged

Fixes buttons of secondary keyboard layouts not making any sound#648
marlenaklein-msft merged 2 commits into
MixedRealityToolkit:mainfrom
LocalJoost:bugfix/NonNativeKeyboardAudio

Conversation

@LocalJoost

Copy link
Copy Markdown
Contributor

The NonNativeKeyboard consists out of several panes. the keyboard_Alpha and keyboard_Space_Alpha are active. However, if you press the &123 button, the keyboard_Symbols gets active. The buttons on this pane do not make sound, because it uses GetComponentsInChildren<Button>() to find the button, which only finds active game objects, while it should use GetComponentsInChildren<Button>(true), which finds both active and inactive game objects

@marlenaklein-msft

Copy link
Copy Markdown
Contributor

thanks for the fix!

@LocalJoost

Copy link
Copy Markdown
Contributor Author

You are welcome!

@marlenaklein-msft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).
@marlenaklein-msft
marlenaklein-msft merged commit 3017816 into MixedRealityToolkit:main Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants