mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
libtipscan: anchor to worldframe to fix tbc issues
This commit is contained in:
+2
-2
@@ -143,9 +143,9 @@ end
|
||||
|
||||
libtipscan._registry = setmetatable({},{__index = function(t,k)
|
||||
local v = CreateFrame("GameTooltip", string.format("%s%s",baseName,k), nil, "GameTooltipTemplate")
|
||||
v:SetOwner(v,"ANCHOR_NONE")
|
||||
v:SetOwner(WorldFrame,"ANCHOR_NONE")
|
||||
v:SetScript("OnHide", function ()
|
||||
this:SetOwner(this,"ANCHOR_NONE")
|
||||
this:SetOwner(WorldFrame,"ANCHOR_NONE")
|
||||
end)
|
||||
function v:Text()
|
||||
return getText(self)
|
||||
|
||||
Reference in New Issue
Block a user