This commit is contained in:
Bunny67
2020-11-15 23:43:10 +03:00
parent ca4a2660ec
commit 7cbc40c959
70 changed files with 7175 additions and 3055 deletions
+9 -3
View File
@@ -62,7 +62,7 @@ local function createOptions(id, data)
__order = 1,
groupIcon = {
type = "input",
width = WeakAuras.normalWidth,
width = WeakAuras.doubleWidth - 0.15,
name = L["Group Icon"],
desc = L["Set Thumbnail Icon"],
order = 0.50,
@@ -77,10 +77,16 @@ local function createOptions(id, data)
},
chooseIcon = {
type = "execute",
width = WeakAuras.normalWidth,
width = 0.15,
name = L["Choose"],
order = 0.51,
func = function() OptionsPrivate.OpenIconPicker(data, "groupIcon", true) end
func = function()
OptionsPrivate.OpenIconPicker(data, { [data.id] = {"groupIcon"} }, true)
end,
imageWidth = 24,
imageHeight = 24,
control = "WeakAurasIcon",
image = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\browse",
},
align_h = {
type = "select",