mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-14 01:10:48 +00:00
tooltip: hackfix tooltip placement
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user