mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
libtipscan: make sure the owner is set each call
For some reason, early initialized tooltips without a WDB cache, won't get attached properly. It seems like they lose their owner when the WDB cache gets ready. Running :SetOwner() again later when caches are ready fixes that somehow.
This commit is contained in:
@@ -167,6 +167,7 @@ libtipscan._registry = setmetatable({},{__index = function(t,k)
|
||||
local old = v[method]
|
||||
v[method] = function(v, a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)
|
||||
v:ClearLines()
|
||||
v:SetOwner(WorldFrame, "ANCHOR_NONE")
|
||||
return old(v, a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user