Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Velaron committed Nov 7, 2023
1 parent c1d7def commit 635dc0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion engine/client/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,7 @@ void Con_RunConsole( void )
#if XASH_MOBILE_PLATFORM
else con.showlines = refState.height; // always fullscreen on mobile
#else
else con.showlines = (refState.height >> 1); // half screen
else con.showlines = (refState.height >> 1); // half screen
#endif
}
else con.showlines = 0; // none visible
Expand Down
4 changes: 4 additions & 0 deletions engine/client/in_touch.c
Original file line number Diff line number Diff line change
Expand Up @@ -2035,7 +2035,11 @@ int IN_TouchEvent( touchEventType type, int fingerID, float x, float y, float dx
x1 += dx;

if ( type == event_up ) // don't show keyboard on every tap
{
Key_EnableTextInput( true, true );
dx = 0.0f;
}

if( cls.key_dest == key_console )
{
static float y1 = 0;
Expand Down

0 comments on commit 635dc0b

Please sign in to comment.