allow repeats in scrolling

This commit is contained in:
Glenn Maynard
2007-03-18 18:08:26 +00:00
parent 42d69401cc
commit 1cb095f159
+4 -2
View File
@@ -393,11 +393,12 @@ void OptionsList::Input( const InputEventPlus &input )
if( input.MenuI == MENU_BUTTON_LEFT )
{
if( input.type != IET_FIRST_PRESS )
if( input.type == IET_RELEASE )
return;
if( INPUTMAPPER->IsBeingPressed(MENU_BUTTON_RIGHT, pn) )
{
if( input.type == IET_FIRST_PRESS )
SwitchMenu( -1 );
return;
}
@@ -413,11 +414,12 @@ void OptionsList::Input( const InputEventPlus &input )
}
else if( input.MenuI == MENU_BUTTON_RIGHT )
{
if( input.type != IET_FIRST_PRESS )
if( input.type == IET_RELEASE )
return;
if( INPUTMAPPER->IsBeingPressed(MENU_BUTTON_LEFT, pn) )
{
if( input.type == IET_FIRST_PRESS )
SwitchMenu( +1 );
return;
}