Originally Posted by Caellian
May i ask you, how ?
Because, someone reported that the previous method only partially worked, after a while, the runes would just get "stuck", colored but not updating anymore.
Your method might be the solution.
|
source:
http://github.com/p3lim/oUF_RuneBar/...UF_RuneBar.lua
Code:
local function update(self)
for index = 1, 6 do
self.Runes[index]:SetStatusBarColor(unpack(oUF.colors.runes[GetRuneType(index)]))
end
end
This function is also 2nd arg in oUF:AddElement()