This commit is contained in:
Kacper Kostka
2023-02-23 17:10:51 +01:00
parent 68e5f9525e
commit 99121a0a03
6 changed files with 27 additions and 30 deletions

View File

@@ -92,7 +92,7 @@ local function init_globals()
end
mm_game_theme.init()
mm_game_theme.set_music("amogus_incomming.ogg")
-- 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
@@ -108,7 +108,6 @@ local function init_globals()
tv_main:set_global_event_handler(main_event_handler)
tv_main:set_fixed_size(false)
local last_tab = core.settings:get("maintab_LAST")
if last_tab and tv_main.current_tab ~= last_tab then
tv_main:set_tab(last_tab)