use generic RepeatRate, RepeatDelay
This commit is contained in:
@@ -1906,6 +1906,8 @@ Fallback="ScreenWithMenuElements"
|
|||||||
NavigationMode="normal"
|
NavigationMode="normal"
|
||||||
InputMode="individual"
|
InputMode="individual"
|
||||||
ForceAllPlayers=false
|
ForceAllPlayers=false
|
||||||
|
RepeatRate=0.25
|
||||||
|
RepeatDelay=12
|
||||||
NumRowsShown=10
|
NumRowsShown=10
|
||||||
RowInitCommand=
|
RowInitCommand=
|
||||||
RowOnCommand=
|
RowOnCommand=
|
||||||
|
|||||||
@@ -555,15 +555,6 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
|
|
||||||
this->HandleScreenMessage( SM_GoToNextScreen );
|
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 );
|
ScreenWithMenuElements::HandleScreenMessage( SM );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user