beta
This commit is contained in:
@@ -1699,7 +1699,7 @@ local function addControlsForIfLine(args, order, data, conditionVariable, condit
|
||||
end
|
||||
tinsert(multipath[id], "value")
|
||||
end
|
||||
WeakAuras.OpenTextEditor(data, multipath, nil, true, nil, nil, "https://github.com/WeakAuras/WeakAuras2/wiki/Custom-Code-Blocks#chat-message---custom-code-1");
|
||||
WeakAuras.OpenTextEditor(data, multipath, nil, true, nil, nil, "https://github.com/WeakAuras/WeakAuras2/wiki/Custom-Code-Blocks#custom-check");
|
||||
else
|
||||
for i, v in ipairs(path) do
|
||||
print(i, v)
|
||||
@@ -1712,7 +1712,7 @@ local function addControlsForIfLine(args, order, data, conditionVariable, condit
|
||||
end
|
||||
tinsert(fullPath, "value")
|
||||
|
||||
WeakAuras.OpenTextEditor(data, fullPath, nil, nil, nil, nil, "https://github.com/WeakAuras/WeakAuras2/wiki/Custom-Code-Blocks#chat-message---custom-code-1");
|
||||
WeakAuras.OpenTextEditor(data, fullPath, nil, nil, nil, nil, "https://github.com/WeakAuras/WeakAuras2/wiki/Custom-Code-Blocks#custom-check");
|
||||
end
|
||||
end
|
||||
}
|
||||
|
||||
@@ -615,12 +615,13 @@ function WeakAuras.CreateFrame()
|
||||
local magnetButton = AceGUI:Create("WeakAurasToolbarButton")
|
||||
magnetButton:SetText(L["Magnetically Align"])
|
||||
magnetButton:SetTexture("Interface\\AddOns\\WeakAuras\\Media\\Textures\\magnetic")
|
||||
magnetButton:SetStrongHighlight(true)
|
||||
magnetButton:SetCallback("OnClick", function(self)
|
||||
if WeakAurasOptionsSaved.magnetAlign then
|
||||
magnetButton:SetStrongHighlight(false)
|
||||
magnetButton:UnlockHighlight()
|
||||
WeakAurasOptionsSaved.magnetAlign = false
|
||||
else
|
||||
magnetButton:SetStrongHighlight(true)
|
||||
magnetButton:LockHighlight()
|
||||
WeakAurasOptionsSaved.magnetAlign = true
|
||||
end
|
||||
|
||||
@@ -401,7 +401,7 @@ local function createOptions(parentData, data, index, subIndex)
|
||||
type = "description",
|
||||
name = "",
|
||||
order = 61,
|
||||
hidden = hiddenFontExtra,
|
||||
hidden = hiddenFunction,
|
||||
control = "WeakAurasExpandAnchor",
|
||||
arg = {
|
||||
expanderName = "subtext_anchor" .. index .. "#" .. subIndex
|
||||
|
||||
Reference in New Issue
Block a user