from retail

This commit is contained in:
NoM0Re
2025-01-26 21:24:18 +01:00
parent 1793d7ac19
commit f9bf9c3c16
25 changed files with 1467 additions and 500 deletions
+16 -1
View File
@@ -315,4 +315,19 @@ local function createOptions(parentData, data, index, subIndex)
return options
end
WeakAuras.RegisterSubRegionOptions("subtick", createOptions, L["Places a tick on the bar"]);
local getAnchors = function(data)
local anchors = {}
for i in ipairs(data.tick_placements) do
anchors["tick."..i] = {
display = L["Tick Center %s"]:format(i),
type = "point"
}
anchors["tickarea."..i] = {
display = L["Tick Area %s"]:format(i),
type = "area"
}
end
return anchors
end
WeakAuras.RegisterSubRegionOptions("subtick", createOptions, L["Places a tick on the bar"], getAnchors)