mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-08-20 09:57:09 +00:00
Fix: The buttons in the Pause menu do not make a clicking sound
This commit is contained in:
parent
558f4a79be
commit
26505c7661
|
|
@ -504,6 +504,8 @@ void UIScene_PauseMenu::handleInput(int iPad, int key, bool repeat, bool pressed
|
||||||
|
|
||||||
void UIScene_PauseMenu::handlePress(F64 controlId, F64 childId)
|
void UIScene_PauseMenu::handlePress(F64 controlId, F64 childId)
|
||||||
{
|
{
|
||||||
|
ui.PlayUISFX(eSFX_Press);
|
||||||
|
|
||||||
if(m_bIgnoreInput) return;
|
if(m_bIgnoreInput) return;
|
||||||
|
|
||||||
switch(static_cast<int>(controlId))
|
switch(static_cast<int>(controlId))
|
||||||
|
|
@ -1478,4 +1480,4 @@ bool UIScene_PauseMenu::CheckForPatch()
|
||||||
|
|
||||||
return bPatchAvailable;
|
return bPatchAvailable;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue