Originally Posted by Vrul
Shouldn't that SetItemRef call in OnHyperlinkLeave be this instead?
Code:
ItemRefTooltip:Hide()
|
No, because (a) the OnHyperlinkEnter script uses the GameTooltip, not the ItemRefTooltip, and (b) that won't hide the special tooltips used for battle pets etc.
The default UI calls SetItemRef each time you click on a link, and for tooltips it acts as a toggle -- the first click shows the tooltip, and the second click hides it.