mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 22:20:00 +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)
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user