Originally Posted by Duugu
You OnUpdate code is ok and does work as expected.
There must be something wrong within other parts of your code.
|
Hm, thanks atleast I'm good there. Sadly the rest of the code is from ouF_Skaarj and I don't really understand all of that.
This is what I found in Skarj's code
Lua Code:
if cfg.aura.target_debuffs then
local d = CreateFrame('Frame', nil, self)
d.size = 23
d.spacing = 5
d.num = cfg.aura.target_debuffs_num
d:SetPoint('BOTTOMLEFT', self, 'TOPLEFT', 0, 8)
d:SetSize(cfg.player.width, d.size)
d.initialAnchor = 'TOPLEFT'
d.onlyShowPlayer = cfg.aura.onlyShowPlayer
d.PostCreateIcon = auraIcon
d.PostUpdateIcon = PostUpdateIcon
d.CustomFilter = CustomFilter
self.Debuffs = d
end