Fixed mixup of docs

This commit is contained in:
badgamernl
2020-09-03 03:37:10 +02:00
parent 620051ddac
commit e23092aa77

View File

@@ -25,8 +25,7 @@ local function rich_img(type, value)
return '[img='..type..'/'..value..']' return '[img='..type..'/'..value..']'
end end
--- Toggle enitity button, used for toggling autofill for the specific entity --- Toggle entity section visibility
-- All entity autofill settings will be ignored if its disabled
-- @element toggle_item_button -- @element toggle_item_button
local toggle_section = local toggle_section =
Gui.element{ Gui.element{
@@ -59,8 +58,9 @@ local header_toggle = Gui.element()
toggle_section:raise_custom_event(event) toggle_section:raise_custom_event(event)
end) end)
--- Used to assign an event to the header label to trigger a toggle --- Toggle enitity button, used for toggling autofill for the specific entity
-- @element header_toggle -- All entity autofill settings will be ignored if its disabled
-- @element entity_toggle
local entity_toggle = Gui.element(function(event_trigger, parent, entity_name) local entity_toggle = Gui.element(function(event_trigger, parent, entity_name)
return parent.add{ return parent.add{
name = event_trigger, name = event_trigger,