This commit is contained in:
Bunny67
2020-08-08 15:48:17 +03:00
parent 13550c449c
commit 073ca1ffe3
15 changed files with 406 additions and 132 deletions
+16 -3
View File
@@ -94,14 +94,17 @@ local function createOptions(id, data)
order = 7,
image = function()
local collapsed = WeakAuras.IsCollapsed("icon", "icon", "iconextra", true);
return collapsed and "Interface\\AddOns\\WeakAuras\\Media\\Textures\\edit" or "Interface\\AddOns\\WeakAuras\\Media\\Textures\\editdown"
return collapsed and "collapsed" or "expanded"
end,
imageWidth = 24,
imageHeight = 24,
imageWidth = 15,
imageHeight = 15,
func = function(info, button)
local collapsed = WeakAuras.IsCollapsed("icon", "icon", "iconextra", true);
WeakAuras.SetCollapsed("icon", "icon", "iconextra", not collapsed);
end,
arg = {
expanderName = "icon"
}
},
iconExtra_space1 = {
type = "description",
@@ -159,6 +162,16 @@ local function createOptions(id, data)
order = 7.07,
hidden = hiddenIconExtra,
},
iconExtraAnchor = {
type = "description",
name = "",
order = 8,
hidden = hiddenIconExtra,
control = "WeakAurasExpandAnchor",
arg = {
expanderName = "icon"
}
},
cooldownHeader = {
type = "header",
order = 11,