Skip to content

Fix: The buttons in the some menus do not make a clicking sound#1350

Open
Adem-Kurt wants to merge 4 commits intosmartcmd:mainfrom
Adem-Kurt:patch-3
Open

Fix: The buttons in the some menus do not make a clicking sound#1350
Adem-Kurt wants to merge 4 commits intosmartcmd:mainfrom
Adem-Kurt:patch-3

Conversation

@Adem-Kurt
Copy link
Contributor

Description

The buttons in the Help and Options menu, Debug menu, Death menu and Pause menu make a clicking sound after this update.

Changes

Previous Behavior

The buttons in the Help and Options menu, Debug menu, Death menu and Pause menu do not play a clicking sound.

Root Cause

While the handlePress function in other menus (such as Settings and Settings Options) have code that plays a click sound, but that code is not in the Help and Options menu, the Debug menu, the Death menu, or the Pause menu

New Behavior

The buttons in the Help and Options menu, Debug menu, Death menu and Pause menu play a clicking sound.

Fix Implementation

I added the line ui.PlayUISFX(eSFX_Press); at the beginning of the handlePress functions in the menu files (as in UIScene_SettingsMenu.cpp, UIScene_SettingsOptionsMenu.cpp, etc.).

AI Use Disclosure

None

Related Issues

  • None

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant