diff options
author | Perttu Ahola <celeron55@gmail.com> | 2015-02-18 11:45:23 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2015-02-18 12:33:40 +0200 |
commit | 4d744cf87ad1cd108d125c58559cef4316e80a70 (patch) | |
tree | 569a35adacd5a2b54306d4183931c868849be290 /src | |
parent | 49f84b76bcacb6de9544ebaf0a05c9f76ccf33b1 (diff) | |
download | minetest-4d744cf87ad1cd108d125c58559cef4316e80a70.tar.gz minetest-4d744cf87ad1cd108d125c58559cef4316e80a70.tar.bz2 minetest-4d744cf87ad1cd108d125c58559cef4316e80a70.zip |
Use fixed size for builtin menus on non-android platforms
Diffstat (limited to 'src')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 7f0ac049c..c4ad49fcf 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, |