use generic RepeatRate, RepeatDelay
This commit is contained in:
@@ -1906,6 +1906,8 @@ Fallback="ScreenWithMenuElements"
|
||||
NavigationMode="normal"
|
||||
InputMode="individual"
|
||||
ForceAllPlayers=false
|
||||
RepeatRate=0.25
|
||||
RepeatDelay=12
|
||||
NumRowsShown=10
|
||||
RowInitCommand=
|
||||
RowOnCommand=
|
||||
|
||||
@@ -555,15 +555,6 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
|
||||
|
||||
this->HandleScreenMessage( SM_GoToNextScreen );
|
||||
}
|
||||
else if( SM == SM_GainFocus )
|
||||
{
|
||||
INPUTFILTER->SetRepeatRate( 12 );
|
||||
INPUTFILTER->SetRepeatDelay( 0.25f );
|
||||
}
|
||||
else if( SM == SM_LoseFocus )
|
||||
{
|
||||
INPUTFILTER->ResetRepeatRate();
|
||||
}
|
||||
|
||||
ScreenWithMenuElements::HandleScreenMessage( SM );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user