mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 19:30:00 +00:00
skin: check for existing anchor
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user