eqcompare: add equip compare tooltips

This commit is contained in:
shagu
2016-12-21 14:07:34 +01:00
parent a3473e46ce
commit 79e771c79d
9 changed files with 149 additions and 4 deletions
+6 -4
View File
@@ -79,15 +79,17 @@ pfUI.utils:CreateBackdrop(ShoppingTooltip1)
pfUI.utils:CreateBackdrop(ShoppingTooltip2)
ShoppingTooltip1:SetScript("OnShow", function()
local a, b, c, _, _ = this:GetPoint()
local a, b, c, d, e = this:GetPoint()
local border = tonumber(pfUI_config.appearance.border.default)
this:SetPoint(a, b, c, border*2+1, 0)
if not d or d == 0 then d = (border*2)+d+1 end
this:SetPoint(a, b, c, d, e)
end)
ShoppingTooltip2:SetScript("OnShow", function()
local a, b, c, _, _ = this:GetPoint()
local a, b, c, d, e = this:GetPoint()
local border = tonumber(pfUI_config.appearance.border.default)
this:SetPoint(a, b, c, border*2+1, 0)
if not d or d == 0 then d = (border*2)+d+1 end
this:SetPoint(a, b, c, d, e)
end)
pfUI.utils:CreateBackdrop(TicketStatusFrame)