From 083d19b3fc8f60468e124c801296c13b66c41abc Mon Sep 17 00:00:00 2001 From: sapier Date: Tue, 6 Jan 2015 16:01:49 +0100 Subject: 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 --- src/touchscreengui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/touchscreengui.cpp') 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; -- cgit v1.2.3