From 7b0bf189f285dd19f4fe4ddd6bdadbcdf4b2e6c4 Mon Sep 17 00:00:00 2001 From: cybeloras Date: Sat, 10 May 2014 01:15:19 +0000 Subject: [PATCH] - 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. --- LibDogTag-Unit-3.0.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LibDogTag-Unit-3.0.lua b/LibDogTag-Unit-3.0.lua index 29350b1..095bd79 100644 --- a/LibDogTag-Unit-3.0.lua +++ b/LibDogTag-Unit-3.0.lua @@ -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