Skip to content

Instantly share code, notes, and snippets.

@sapier
Created January 9, 2015 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sapier/d7561b4c0e3822053bbf to your computer and use it in GitHub Desktop.
Save sapier/d7561b4c0e3822053bbf to your computer and use it in GitHub Desktop.
diff --git a/builtin/mainmenu/init.lua b/builtin/mainmenu/init.lua
index e582083..10b100c 100644
--- a/builtin/mainmenu/init.lua
+++ b/builtin/mainmenu/init.lua
@@ -144,6 +144,7 @@ local function init_globals()
tv_main:set_fixed_size(false)
else
tv_main:set_tab(core.setting_get("maintab_LAST"))
+ tv_main:set_fixed_size(false)
end
ui.set_default("maintab")
tv_main:show()
diff --git a/src/game.cpp b/src/game.cpp
index b292ad1..00931a7 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1024,11 +1024,7 @@ 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]"
-#endif
static void show_chat_menu(GUIFormSpecMenu **cur_formspec,
InventoryManager *invmgr, IGameDef *gamedef,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment