diff --git a/modules/skin.lua b/modules/skin.lua index 42a9fee3..bdcb8dd5 100644 --- a/modules/skin.lua +++ b/modules/skin.lua @@ -78,6 +78,18 @@ pfUI:RegisterModule("skin", function () pfUI.utils:CreateBackdrop(ShoppingTooltip1) pfUI.utils:CreateBackdrop(ShoppingTooltip2) +ShoppingTooltip1:SetScript("OnShow", function() + local a, b, c, _, _ = this:GetPoint() + local border = tonumber(pfUI_config.appearance.border.default) + this:SetPoint(a, b, c, border*2+1, 0) +end) + +ShoppingTooltip2:SetScript("OnShow", function() + local a, b, c, _, _ = this:GetPoint() + local border = tonumber(pfUI_config.appearance.border.default) + this:SetPoint(a, b, c, border*2+1, 0) +end) + pfUI.utils:CreateBackdrop(TicketStatusFrame) TicketStatusFrame:ClearAllPoints() TicketStatusFrame:SetPoint("TOP", 0, -5) diff --git a/modules/tooltip.lua b/modules/tooltip.lua index d67ad47d..eaeed29a 100644 --- a/modules/tooltip.lua +++ b/modules/tooltip.lua @@ -1,5 +1,5 @@ pfUI:RegisterModule("tooltip", function () -pfUI.utils:CreateBackdrop( GameTooltip) +pfUI.utils:CreateBackdrop(GameTooltip) if pfUI_config.tooltip.position == "cursor" then function GameTooltip_SetDefaultAnchor(tooltip, parent)