mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02: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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user