only accept start/back on IET_REPEAT so that Start can be tested without exiting the screen.

This commit is contained in:
Chris Danford
2006-10-20 08:46:39 +00:00
parent 56d052f6f1
commit fec2d3628b
+3 -3
View File
@@ -104,9 +104,6 @@ void ScreenTestInput::Input( const InputEventPlus &input )
MESSAGEMAN->Broadcast( sMessage );
}
if( input.type != IET_FIRST_PRESS && input.type != IET_REPEAT )
return; // ignore
Screen::Input( input ); // default handler
}
@@ -117,6 +114,9 @@ void ScreenTestInput::MenuStart( const InputEventPlus &input )
void ScreenTestInput::MenuBack( const InputEventPlus &input )
{
if( input.type != IET_REPEAT )
return; // ignore
if( !IsTransitioning() )
{
SCREENMAN->PlayStartSound();