Are there any changes in Statusbar functions?
I used to create a bar to monitor some auras, but it is no longer changing its value in BETA and staying at the end.
https://github.com/siweia/NDui/blob/.../AuraWatch.lua
----------------------------------
I just find out the problem is those lines:
Code:
Event.Timer = 0
local onUpdate = function(self, elapsed)
self.Timer = self.Timer + elapsed
if self.Timer > 0 then
self.Timer = 0
CleanUp()
UpdateCD()
for _, value in pairs(UnitIDTable) do
UpdateAura(value)
end
end
end
Event:SetScript("OnUpdate", onUpdate)
if I change "self.Timer > 0" to "self.Timer > 0.1", it would work but flashing.