mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Migrate gui modules
This commit is contained in:
@@ -345,9 +345,9 @@ end)
|
||||
--- The main container for the vlayer gui
|
||||
-- @element vlayer_container
|
||||
local vlayer_container =
|
||||
Gui.element(function(event_trigger, parent)
|
||||
Gui.element(function(definition, parent)
|
||||
local player = Gui.get_player_from_element(parent)
|
||||
local container = Gui.container(parent, event_trigger, 320)
|
||||
local container = Gui.container(parent, definition.name, 320)
|
||||
|
||||
vlayer_display_set(container, 'vlayer_st_1')
|
||||
vlayer_control_set(container, 'vlayer_st_2')
|
||||
@@ -362,6 +362,7 @@ Gui.element(function(event_trigger, parent)
|
||||
table[vlayer_gui_control_remove.name].visible = visible
|
||||
return container.parent
|
||||
end)
|
||||
:static_name(Gui.unique_static_name)
|
||||
:add_to_left_flow()
|
||||
|
||||
--- Button on the top flow used to toggle the task list container
|
||||
|
||||
Reference in New Issue
Block a user