Skip to content

Commit

Permalink
Let main menu scale (non-Android)
Browse files Browse the repository at this point in the history
This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds
  • Loading branch information
Zeno- committed Mar 29, 2015
1 parent 5ee0d8a commit bf06b68
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions builtin/mainmenu/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit bf06b68

Please sign in to comment.