[ScreenSelectMusic] add a code for closing the current folder from any location (a la DDR X2)
[metric will be added with the next batch of theme commits]
This commit is contained in:
@@ -739,6 +739,18 @@ bool ScreenSelectMusic::DetectCodes( const InputEventPlus &input )
|
||||
AfterMusicChange();
|
||||
}
|
||||
}
|
||||
else if( CodeDetector::EnteredCloseFolder(input.GameI.controller) )
|
||||
{
|
||||
if( GAMESTATE->IsAnExtraStageAndSelectionLocked() )
|
||||
m_soundLocked.Play();
|
||||
else
|
||||
{
|
||||
RString sCurSection = m_MusicWheel.GetSelectedSection();
|
||||
m_MusicWheel.SelectSection(sCurSection);
|
||||
m_MusicWheel.SetOpenSection("");
|
||||
AfterMusicChange();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user