Use fixed size for builtin menus on non-android platforms

This commit is contained in:
Perttu Ahola 2015-02-18 11:45:23 +02:00 committed by Nils Dagsson Moskopp
parent b6c7b01e45
commit 352b5c8a72
Signed by: erle
GPG Key ID: A3BC671C35191080
1 changed files with 5 additions and 1 deletions

View File

@ -139,7 +139,11 @@ local function init_globals()
tv_main:add(tab_credits)
tv_main:set_global_event_handler(main_event_handler)
tv_main:set_fixed_size(false)
if PLATFORM ~= "Android" then
tv_main:set_fixed_size(true)
else
tv_main:set_fixed_size(false)
end
if not (PLATFORM == "Android") then
tv_main:set_tab(core.setting_get("maintab_LAST"))