aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2015-03-30 00:33:07 +1000
committerCraig Robbins <kde.psych@gmail.com>2015-03-30 00:33:07 +1000
commitbf06b68c96108e1e98243911ad8c1da4be04d7f6 (patch)
tree8406886ab33667c0278e45c2398d39ef05afdffa
parent5ee0d8ac81c7d750ec01a11cf36f87c969859b7c (diff)
downloadminetest-bf06b68c96108e1e98243911ad8c1da4be04d7f6.tar.gz
minetest-bf06b68c96108e1e98243911ad8c1da4be04d7f6.tar.bz2
minetest-bf06b68c96108e1e98243911ad8c1da4be04d7f6.zip
Let main menu scale (non-Android)
This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds
-rw-r--r--builtin/mainmenu/init.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/builtin/mainmenu/init.lua b/builtin/mainmenu/init.lua
index d008ec8b0..176796bef 100644
--- a/builtin/mainmenu/init.lua
+++ b/builtin/mainmenu/init.lua
@@ -139,11 +139,8 @@ local function init_globals()
tv_main:add(tab_credits)
tv_main:set_global_event_handler(main_event_handler)
- if PLATFORM ~= "Android" then
- tv_main:set_fixed_size(true)
- else
- tv_main:set_fixed_size(false)
- end
+
+ tv_main:set_fixed_size(false)
if not (PLATFORM == "Android") then
tv_main:set_tab(core.setting_get("maintab_LAST"))