Discord Button Added and changed the size of the buttons

This commit is contained in:
Kacper Kostka
2023-02-23 16:57:33 +01:00
parent 5d3330377e
commit 2a86ec6734
11 changed files with 35 additions and 48 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,6 +108,7 @@ 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)