skin: logical error in tooltip placement

This commit is contained in:
shagu
2017-01-12 19:36:50 +01:00
parent 76924c367a
commit c10dec2077
+1 -1
View File
@@ -67,7 +67,7 @@ pfUI.api:CreateBackdrop(ItemRefTooltip)
ShoppingTooltip1:SetScript("OnShow", function()
local a, b, c, d, e = this:GetPoint()
local border = tonumber(pfUI_config.appearance.border.default)
if not d or d == 0 then d = (border*2)+d+1 end
if d and d == 0 then d = (border*2)+d+1 end
this:SetPoint(a, b, c, d, e)
end)