From c10dec2077325dbe91a67955f40bc8685b983cc0 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 12 Jan 2017 19:36:50 +0100 Subject: [PATCH] skin: logical error in tooltip placement --- modules/skin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/skin.lua b/modules/skin.lua index 9a7f384b..bd05fac6 100644 --- a/modules/skin.lua +++ b/modules/skin.lua @@ -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)