allow repeating backspace input
This commit is contained in:
@@ -169,13 +169,13 @@ void ScreenTextEntry::Input( const InputEventPlus &input )
|
|||||||
if( IsTransitioning() )
|
if( IsTransitioning() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( input.type == IET_FIRST_PRESS )
|
if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_BACK) && input.type != IET_RELEASE )
|
||||||
{
|
{
|
||||||
if( input.DeviceI == DeviceInput(DEVICE_KEYBOARD, KEY_BACK) )
|
BackspaceInAnswer();
|
||||||
{
|
}
|
||||||
BackspaceInAnswer();
|
else if( input.type == IET_FIRST_PRESS )
|
||||||
}
|
{
|
||||||
else if( input.DeviceI.ToChar() >= ' ' )
|
if( input.DeviceI.ToChar() >= ' ' )
|
||||||
{
|
{
|
||||||
bool bIsHoldingShift =
|
bool bIsHoldingShift =
|
||||||
INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_RSHIFT)) ||
|
INPUTFILTER->IsBeingPressed( DeviceInput(input.DeviceI.device, KEY_RSHIFT)) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user