mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Use formspec version 6 in the main menu (#13761)
This commit is contained in:
parent
7b56daa236
commit
0cbf96cc83
7 changed files with 54 additions and 37 deletions
|
@ -115,8 +115,7 @@ local function init_globals()
|
|||
mm_game_theme.init()
|
||||
|
||||
-- Create main tabview
|
||||
local tv_main = tabview_create("maintab", {x = 12, y = 5.4}, {x = 0, y = 0})
|
||||
-- note: size would be 15.5,7.1 in real coordinates mode
|
||||
local tv_main = tabview_create("maintab", {x = 15.5, y = 7.1}, {x = 0, y = 0})
|
||||
|
||||
tv_main:set_autosave_tab(true)
|
||||
tv_main:add(tabs.local_game)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue