From d158955eb306e3f00890a3d4d278df1ab5d33e1a Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 4 Apr 2017 10:10:31 +0200 Subject: [PATCH] skin: check for existing anchor --- modules/skin.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/skin.lua b/modules/skin.lua index b80f064e..d80f309e 100644 --- a/modules/skin.lua +++ b/modules/skin.lua @@ -69,14 +69,14 @@ pfUI:RegisterModule("skin", function () local a, b, c, d, e = this:GetPoint() local border = tonumber(C.appearance.border.default) if d and d == 0 then d = (border*2)+d+1 end - this:SetPoint(a, b, c, d, e) + if a then this:SetPoint(a, b, c, d, e) end end) ShoppingTooltip2:SetScript("OnShow", function() local a, b, c, d, e = this:GetPoint() local border = tonumber(C.appearance.border.default) if not d or d == 0 then d = (border*2)+d+1 end - this:SetPoint(a, b, c, d, e) + if a then this:SetPoint(a, b, c, d, e) end end) CreateBackdrop(TicketStatusFrame)