Skip to content

Commit

Permalink
Fix real keyboard movements on touchscreen devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim authored and SmallJoker committed Jun 9, 2020
1 parent 3cee55f commit 756dc89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/gui/touchscreengui.cpp
Expand Up @@ -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) &&
Expand Down

0 comments on commit 756dc89

Please sign in to comment.