aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu.lua
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-03-04 19:57:39 +0100
committersapier <Sapier at GMX dot net>2014-03-05 18:44:14 +0100
commita4e2198e4102f1dabc8f8720c2ace9c2fca8d999 (patch)
treeb0287c27c99763e6cbda7f1990a5ce93397d7182 /builtin/mainmenu.lua
parent062de11b4cff30861dd4e9eb56f131d821f34b51 (diff)
downloadminetest-a4e2198e4102f1dabc8f8720c2ace9c2fca8d999.tar.gz
minetest-a4e2198e4102f1dabc8f8720c2ace9c2fca8d999.tar.bz2
minetest-a4e2198e4102f1dabc8f8720c2ace9c2fca8d999.zip
Replace pause and message menu by formspec ones
Diffstat (limited to 'builtin/mainmenu.lua')
-rw-r--r--builtin/mainmenu.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/mainmenu.lua b/builtin/mainmenu.lua
index f2649443b..ad8b37ee0 100644
--- a/builtin/mainmenu.lua
+++ b/builtin/mainmenu.lua
@@ -176,7 +176,7 @@ function update_menu()
-- handle errors
if gamedata.errormessage ~= nil then
- formspec = "size[12,5.2]" ..
+ formspec = "size[12,5.2,true]" ..
"textarea[1,2;10,2;;ERROR: " ..
engine.formspec_escape(gamedata.errormessage) ..
";]"..
@@ -365,7 +365,7 @@ end
function tabbuilder.gettab()
local tsize = tabbuilder.tabsizes[tabbuilder.current_tab] or {width=12, height=5.2}
- local retval = "size[" .. tsize.width .. "," .. tsize.height .. "]"
+ local retval = "size[" .. tsize.width .. "," .. tsize.height .. ",true]"
if tabbuilder.show_buttons then
retval = retval .. tabbuilder.tab_header()