mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
Adjusts guiGameListMenuCtrl.cpp to handle Left and Right keys to adjust options, which simultaneously fixes the 'jiggle' issue on the options menu of the BaseGame base UI
Per Steve's suggestion, put a pause on gameplay sounds alongside the game sim being paused when the pause menu is opened. Nudges the keybind preview image for guiGameListMenuCtrl to be better centered
This commit is contained in:
parent
68ac97e82a
commit
db6c63d424
3 changed files with 12 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ function PauseMenu::onWake(%this)
|
|||
{
|
||||
$timescale = 0;
|
||||
|
||||
sfxSetChannelVolume( $SimAudioType, $pref::SFX::channelVolume[ 0 ] );
|
||||
PauseMenuList.hidden = false;
|
||||
PauseMenuList.setFirstResponder();
|
||||
PauseButtonHolder.setActive();
|
||||
|
|
@ -18,6 +19,7 @@ function PauseMenu::onWake(%this)
|
|||
function PauseMenu::onSleep(%this)
|
||||
{
|
||||
$timescale = 1;
|
||||
sfxSetChannelVolume( $SimAudioType, $pref::SFX::channelVolume[ $SimAudioType ] );
|
||||
}
|
||||
|
||||
function PauseMenu::onReturnTo(%this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue