From: Holger Schemel Date: Sat, 7 May 2022 22:55:13 +0000 (+0200) Subject: fixed assumed position of screen keyboard for Android platform X-Git-Tag: 4.3.2.2~42 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=eb2a6b376490956d2f47cdbf66f1a5f7b5ade2e0;p=rocksndiamonds.git fixed assumed position of screen keyboard for Android platform --- diff --git a/src/libgame/system.h b/src/libgame/system.h index 48eaff25..af77480a 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -148,7 +148,7 @@ #define USE_TOUCH_INPUT_OVERLAY #define USE_COMPLETE_DISPLAY #define HAS_SCREEN_KEYBOARD -#define SCREEN_KEYBOARD_POS(h) ((h) / 2) +#define SCREEN_KEYBOARD_POS(h) ((h) * 40 / 100) #endif // values for drag-and-drop support (some parts not added before SDL 2.0.5)