roll: hide item tooltip on leave

This commit is contained in:
shagu
2020-12-06 20:14:24 +01:00
parent 455514a65a
commit ddd6781c17
+4
View File
@@ -105,6 +105,10 @@ pfUI:RegisterModule("roll", "vanilla:tbc", function ()
CursorUpdate()
end)
f.icon:SetScript("OnLeave", function()
GameTooltip:Hide()
end)
f.icon:SetScript("OnClick", function()
if IsControlKeyDown() then
DressUpItemLink(GetLootRollItemLink(this:GetParent().rollID))