2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2025-01-09 18:05:05 +01:00

touch: only pop up OSK on FINGERDOWN events

This commit is contained in:
fgsfds 2023-02-05 02:26:17 +01:00
parent f87863b8bc
commit cb28101732

View File

@ -1956,7 +1956,8 @@ 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 )
{
Key_EnableTextInput( true, true );
if ( type == event_down ) // don't pop it again on event_up
Key_EnableTextInput( true, true );
if( cls.key_dest == key_console )
{
static float y1 = 0;