mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix real keyboard movements on touchscreen devices
This commit is contained in:
parent
3cee55f2b4
commit
756dc89ede
1 changed files with 6 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue