SuperVillain UI

SuperVillain UI

279k Downloads

SVUI_Chat.lua

joeymagz opened this issue ยท 1 comments

commented

Again, thanks to Hotluck on the forums...
This one fixes you mousing over an item or something in the chat window and the tooltip follows you all over the screen until you mouse over something different.

Replace _hook_OnHyperlinkLeave with...

local _hook_OnHyperlinkLeave = function(self)
if(not CHAT_HOVER_URL) then return; end
HideUIPanel(GameTooltip)
ACTIVE_HYPER_LINK = nil;
end

It looks like whatever was changed prior to 7.1 was resulting in the refstring.match always returning nothing, so the old code only called the hyperlinkleave function when you moused over another game entity.

commented

Committed and Pushed

Thanks for the fix.