|
|
|
@ -175,18 +175,6 @@ local methods = { |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
--[[ for position, key in ipairs(orderedKeys) do |
|
|
|
|
---@type Diesal.GUI.Object.DropDown.Item |
|
|
|
|
local dropdownItem = DiesalGUI:Create("DiesalDropDownItem") |
|
|
|
|
self:AddChild(dropdownItem) |
|
|
|
|
dropdownItem:SetParentObject(self) |
|
|
|
|
dropdownItem:SetSettings({ |
|
|
|
|
key = key, |
|
|
|
|
value = list[key], |
|
|
|
|
position = position, |
|
|
|
|
}, true) |
|
|
|
|
end ]] |
|
|
|
|
self:ApplySettings() |
|
|
|
|
end, |
|
|
|
|
|
|
|
|
|