- Added a check for a variable named __DT_dontcancelupdatesforMO on fontStrings in order to prevent the timer handler from canceling queued updates on fontStrings whose unit kwarg == "mouseover". Behavior remains unchanged if this variable is not set.

This commit is contained in:
cybeloras
2014-05-10 01:15:19 +00:00
parent 04b2e80bf9
commit 7b0bf189f2

View File

@ -586,7 +586,7 @@ DogTag:AddTimerHandler("Unit", function(num, currentTime)
local exists = not not UnitExists("mouseover")
if not exists then
for fs, nsList in pairs(fsToNSList) do
if nsListHasUnit[nsList] then
if nsListHasUnit[nsList] and not fs.__DT_dontcancelupdatesforMO then
local kwargs = fsToKwargs[fs]
if kwargs and kwargs["unit"] == "mouseover" then
fsNeedUpdate[fs] = nil