aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2015-02-18 11:45:23 +0200
committerPerttu Ahola <celeron55@gmail.com>2015-02-18 13:57:54 +0200
commitbb603ff18ebc62fdd5799118eee318747f60744a (patch)
treec8b4cc388e9a7c7375c285ca032d79ecda0243ad /src
parent4208fdfd2273b715eeddb8b9877c2def8346d447 (diff)
downloadminetest-bb603ff18ebc62fdd5799118eee318747f60744a.tar.gz
minetest-bb603ff18ebc62fdd5799118eee318747f60744a.tar.bz2
minetest-bb603ff18ebc62fdd5799118eee318747f60744a.zip
Use fixed size for builtin menus on non-android platforms
Diffstat (limited to 'src')
-rw-r--r--src/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 896973515..8e88fbc8f 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1043,7 +1043,11 @@ static inline void create_formspec_menu(GUIFormSpecMenu **cur_formspec,
}
}
+#ifdef __ANDROID__
#define SIZE_TAG "size[11,5.5]"
+#else
+#define SIZE_TAG "size[11,5.5,true]" // Fixed size on desktop
+#endif
static void show_chat_menu(GUIFormSpecMenu **cur_formspec,
InventoryManager *invmgr, IGameDef *gamedef,