mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
Fix real keyboard movements on touchscreen devices
This commit is contained in:
@ -1211,7 +1211,12 @@ void TouchScreenGUI::step(float dtime)
|
||||
}
|
||||
|
||||
// joystick
|
||||
applyJoystickStatus();
|
||||
for (unsigned int i = 0; i < 4; i++) {
|
||||
if (m_joystick_status[i]) {
|
||||
applyJoystickStatus();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// if a new placed pointer isn't moved for some time start digging
|
||||
if ((m_move_id != -1) &&
|
||||
|
Reference in New Issue
Block a user