Originally Posted by Phanx
Depending on the layout, there may not be an "ns.oUF", but instead a global "oUF". To account for both possibilities (without changing anything else in the layout) that second line should be:
Code:
local oUF = ns.oUF or oUF
You can see how I change the power colors for mana and runic power in my oUF layout here:
https://github.com/Phanx/oUF_Phanx/b.../Core.lua#L220
|
Thanks Phanx..your example worked for me