1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

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
This commit is contained in:
sapier 2015-01-06 16:01:49 +01:00
parent ef0a4e3614
commit 083d19b3fc
5 changed files with 80 additions and 21 deletions

View file

@ -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;