aboutsummaryrefslogtreecommitdiff
path: root/src/touchscreengui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchscreengui.cpp')
-rw-r--r--src/touchscreengui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/touchscreengui.cpp b/src/touchscreengui.cpp
index 1a5d42e9d..065c7a392 100644
--- a/src/touchscreengui.cpp
+++ b/src/touchscreengui.cpp
@@ -683,6 +683,10 @@ void TouchScreenGUI::step(float dtime)
if (btn->ids.size() > 0) {
btn->repeatcounter += dtime;
+ /* in case we're moving around digging does not happen */
+ if (m_move_id != -1)
+ m_move_has_really_moved = true;
+
if (btn->repeatcounter < 0.2) continue;
btn->repeatcounter = 0;