Skip to content

Commit

Permalink
Main menu style: Set to 'full' for Android, remove 'auto' option (#7936)
Browse files Browse the repository at this point in the history
  • Loading branch information
paramat committed Dec 6, 2018
1 parent 0c6933b commit f0dca28
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions builtin/mainmenu/init.lua
Expand Up @@ -25,9 +25,6 @@ mt_color_dark_green = "#25C191"
local menupath = core.get_mainmenu_path()
local basepath = core.get_builtin_path()
local menustyle = core.settings:get("main_menu_style")
if menustyle == "auto" then
menustyle = PLATFORM == "Android" and "simple" or "full"
end
defaulttexturedir = core.get_texturepath_share() .. DIR_DELIM .. "base" ..
DIR_DELIM .. "pack" .. DIR_DELIM

Expand Down
3 changes: 1 addition & 2 deletions builtin/settingtypes.txt
Expand Up @@ -1309,8 +1309,7 @@ high_precision_fpu (High-precision FPU) bool true
# - Full: Multple singleplayer worlds, game choice, texture pack chooser, etc.
# - Simple: One singleplayer world, no game or texture pack choosers. May be
# necessary for smaller screens.
# - Auto: Simple on Android, full on everything else.
main_menu_style (Main menu style) enum auto auto,full,simple
main_menu_style (Main menu style) enum full full,simple

# Replaces the default main menu with a custom one.
main_menu_script (Main menu script) string
Expand Down
2 changes: 1 addition & 1 deletion src/defaultsettings.cpp
Expand Up @@ -271,7 +271,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("joystick_frustum_sensitivity", "170");

// Main menu
settings->setDefault("main_menu_style", "auto");
settings->setDefault("main_menu_style", "full");
settings->setDefault("main_menu_path", "");
settings->setDefault("serverlist_file", "favoriteservers.txt");

Expand Down

0 comments on commit f0dca28

Please sign in to comment.