I do this to force nameplates aura icon justify to center, but
visibleAuras was removed in ouf 11, dunno what new argument should i replaced
Code:
local function PreSetPosition(self, max)
return 1, self.visibleAuras
end
local function SetPosition(self, from, to)
for i = from, to do
local button = self[i]
if not button then break end
if i == 1 then
button:SetPoint("CENTER", -(((self.size + self.spacing) * (to - 1)) / 2), 0)
else
button:SetPoint("LEFT", self[i-1], "RIGHT", self.spacing, 0)
end
end
end