Originally Posted by Phanx
Replace:
Code:
local function OnHyperlinkLeave(frame, link, text)
with:
Code:
local function OnHyperlinkLeave(...)
return print("OnHyperlinkLeave", ...)
Mouse over a link, then off, then post the printout you get in the chat frame.
|
That code did not work but I replaced it with this:
Lua Code:
local function OnHyperlinkLeave(...)
if true then --debug
return print("OnHyperlinkLeave", ...)
end
if normal == true then
GameTooltip:Hide()
elseif normal == false then
-- Uses a special tooltip, just let the default function handle it.
SetItemRef(link, text, "LeftButton", frame)
end
end
and got this chat printout:
Code:
OnHyperlinkLeave table: 00000165D37D7F7
reloaded UI and disabled all addons new chat print:
Code:
OnHyperlinkLeave table: 00000165D35AEEA0
Tested it and it changes ever time.