2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-23 02:15:55 +01:00

engine: touch: only pop up touch keyboard on FINGERDOWN events

This commit is contained in:
fgsfds 2021-05-24 04:53:35 +03:00 committed by Alibek Omarov
parent d944301a60
commit b68def2b9c

View File

@ -1956,6 +1956,7 @@ int IN_TouchEvent( touchEventType type, int fingerID, float x, float y, float dx
// Hack for keyboard, hope it help
if( cls.key_dest == key_console || cls.key_dest == key_message )
{
if ( type == event_down ) // don't pop it again on event_up
Key_EnableTextInput( true, true );
if( cls.key_dest == key_console )
{