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
+7 -11
View File
@@ -17,23 +17,19 @@ local function createOptions(id, data)
-- Option for modelIsDisplayInfo added below
-- Option for path/id added below
space2 = {
type = "execute",
width = WeakAuras.normalWidth,
name = "",
order = 1.5,
image = function() return "", 0, 0 end,
hidden = function() return data.modelIsUnit end
},
chooseModel = {
type = "execute",
width = WeakAuras.normalWidth,
width = 0.15,
name = L["Choose"],
order = 2,
func = function()
OptionsPrivate.OpenModelPicker(data);
OptionsPrivate.OpenModelPicker(data, {});
end,
hidden = function() return data.modelIsUnit end
disabled = function() return data.modelIsUnit end,
imageWidth = 24,
imageHeight = 24,
control = "WeakAurasIcon",
image = "Interface\\AddOns\\WeakAuras\\Media\\Textures\\browse",
},
advance = {
type = "toggle",