projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ee0d8a
)
Let main menu scale (non-Android)
author
Craig Robbins
<kde.psych@gmail.com>
Sun, 29 Mar 2015 14:33:07 +0000
(
00:33
+1000)
committer
Craig Robbins
<kde.psych@gmail.com>
Sun, 29 Mar 2015 14:33:07 +0000
(
00:33
+1000)
This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds
builtin/mainmenu/init.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu/init.lua
b/builtin/mainmenu/init.lua
index d008ec8b0815b7f3c84be5aeac6d475c6d0bdd62..176796befcce07eebd0345638fecf0a0eaa42524 100644
(file)
--- 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"))