summaryrefslogtreecommitdiff
path: root/src/touchscreengui.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2015-01-06 16:01:49 +0100
committersapier <Sapier at GMX dot net>2015-01-06 16:13:39 +0100
commit083d19b3fc8f60468e124c801296c13b66c41abc (patch)
treec1e2a9fd7e54dad102da6a8aada8d3b1a476fbbd /src/touchscreengui.cpp
parentef0a4e361440430e9512c7adc278c36956275a5c (diff)
downloadminetest-083d19b3fc8f60468e124c801296c13b66c41abc.tar.gz
minetest-083d19b3fc8f60468e124c801296c13b66c41abc.tar.bz2
minetest-083d19b3fc8f60468e124c801296c13b66c41abc.zip
Fixes for android
Copy only minetest_game to apk by default Don't copy .git and .svn folders to apk Fix bouncing asset copy scrollbar due to long filepaths Reenable font scaling to fix broken menu on high dpi screens Implement minetest loglevel to android loglevel mapping Disable touch digging while moving around
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;