forked from Mirrorlandia_minetest/minetest
Fix real keyboard movements on touchscreen devices
This commit is contained in:
parent
3cee55f2b4
commit
756dc89ede
@ -1211,7 +1211,12 @@ void TouchScreenGUI::step(float dtime)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// joystick
|
// joystick
|
||||||
|
for (unsigned int i = 0; i < 4; i++) {
|
||||||
|
if (m_joystick_status[i]) {
|
||||||
applyJoystickStatus();
|
applyJoystickStatus();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// if a new placed pointer isn't moved for some time start digging
|
// if a new placed pointer isn't moved for some time start digging
|
||||||
if ((m_move_id != -1) &&
|
if ((m_move_id != -1) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user