eqcompare: add proper support for atlasloot

This commit is contained in:
shagu
2018-08-08 18:48:26 +02:00
parent c2ff2851ec
commit 44a4aa522c
2 changed files with 38 additions and 37 deletions
+2 -7
View File
@@ -673,13 +673,8 @@ pfUI:RegisterModule("thirdparty", function ()
CreateBackdrop(AtlasLootTooltip)
if pfUI.eqcompare then
local AtlasCompare = CreateFrame( "Frame" , "pfEQCompareAtlas", AtlasLootTooltip )
AtlasCompare:SetScript("OnShow", function()
pfUI.eqcompare.ShowCompare(AtlasLootTooltip)
end)
AtlasCompare:SetScript("OnHide", function()
HookScript(AtlasLootTooltip, "OnShow", pfUI.eqcompare.GameTooltipShow)
HookScript(AtlasLootTooltip, "OnHide", function()
ShoppingTooltip1:Hide()
ShoppingTooltip2:Hide()
end)