if the wheel is locked, don't allow Ctrl+Letter to sort

This commit is contained in:
AJ Kelly
2010-01-13 00:43:21 +00:00
parent bc331f3fc6
commit 8ceb0a6967
+4
View File
@@ -358,6 +358,9 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
MakeUpper( &c, 1 ); MakeUpper( &c, 1 );
if ( bHoldingCtrl && ( c >= 'A' ) && ( c <= 'Z' ) ) if ( bHoldingCtrl && ( c >= 'A' ) && ( c <= 'Z' ) )
{
// Don't change sort order when the wheel is locked.
if( !m_MusicWheel.WheelIsLocked() )
{ {
SortOrder so = GAMESTATE->m_SortOrder; SortOrder so = GAMESTATE->m_SortOrder;
if ( ( so != SORT_TITLE ) && ( so != SORT_ARTIST ) ) if ( ( so != SORT_TITLE ) && ( so != SORT_ARTIST ) )
@@ -376,6 +379,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
AfterMusicChange(); AfterMusicChange();
return; return;
} }
}
// debugging? // debugging?
// I just like being able to see untransliterated titles occasionally. // I just like being able to see untransliterated titles occasionally.