From: Craig Robbins Date: Sun, 29 Mar 2015 14:33:07 +0000 (+1000) Subject: Let main menu scale (non-Android) X-Git-Tag: 0.4.13~414 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bf06b68c96108e1e98243911ad8c1da4be04d7f6;p=oweals%2Fminetest.git Let main menu scale (non-Android) This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds --- 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"))