mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 21:41:53 -05:00
- 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:
@ -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
|
||||
|
Reference in New Issue
Block a user