1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

Use formspec version 6 in the main menu (#13761)

This commit is contained in:
rubenwardy
2023-08-28 22:36:54 +01:00
committed by GitHub
parent 7b56daa236
commit 0cbf96cc83
7 changed files with 54 additions and 37 deletions

View File

@@ -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)