mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +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())
|
||||
CursorUpdate()
|
||||
end
|
||||
this.hover:Show()
|
||||
if this.hover then
|
||||
this.hover:Show()
|
||||
end
|
||||
end)
|
||||
|
||||
frame:SetScript("OnLeave", function()
|
||||
GameTooltip:Hide()
|
||||
ResetCursor()
|
||||
this.hover:Hide()
|
||||
if this.hover then
|
||||
this.hover:Hide()
|
||||
end
|
||||
end)
|
||||
|
||||
frame.ficon = CreateFrame("Frame", "pfLootButtonIcon", frame)
|
||||
|
||||
Reference in New Issue
Block a user