mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-25 21:40:49 +00:00
loot: fix unknown hover frame errors
This commit is contained in:
+6
-2
@@ -41,13 +41,17 @@ pfUI:RegisterModule("loot", function ()
|
|||||||
GameTooltip:SetLootItem(this:GetID())
|
GameTooltip:SetLootItem(this:GetID())
|
||||||
CursorUpdate()
|
CursorUpdate()
|
||||||
end
|
end
|
||||||
this.hover:Show()
|
if this.hover then
|
||||||
|
this.hover:Show()
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
frame:SetScript("OnLeave", function()
|
frame:SetScript("OnLeave", function()
|
||||||
GameTooltip:Hide()
|
GameTooltip:Hide()
|
||||||
ResetCursor()
|
ResetCursor()
|
||||||
this.hover:Hide()
|
if this.hover then
|
||||||
|
this.hover:Hide()
|
||||||
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
frame.ficon = CreateFrame("Frame", "pfLootButtonIcon", frame)
|
frame.ficon = CreateFrame("Frame", "pfLootButtonIcon", frame)
|
||||||
|
|||||||
Reference in New Issue
Block a user