mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: touch: only pop up touch keyboard on FINGERDOWN events
This commit is contained in:
parent
d944301a60
commit
b68def2b9c
@ -1956,7 +1956,8 @@ int IN_TouchEvent( touchEventType type, int fingerID, float x, float y, float dx
|
|||||||
// Hack for keyboard, hope it help
|
// Hack for keyboard, hope it help
|
||||||
if( cls.key_dest == key_console || cls.key_dest == key_message )
|
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 )
|
if( cls.key_dest == key_console )
|
||||||
{
|
{
|
||||||
static float y1 = 0;
|
static float y1 = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user