mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-10 07:30:01 +00:00
skin: clamp compare tooltips to screen
This commit is contained in:
@@ -130,6 +130,7 @@ pfUI:RegisterModule("skin", function ()
|
||||
CreateBackdrop(ShoppingTooltip2, nil, nil, alpha)
|
||||
CreateBackdrop(ItemRefTooltip, nil, nil, alpha)
|
||||
|
||||
ShoppingTooltip1:SetClampedToScreen(true)
|
||||
ShoppingTooltip1:SetScript("OnShow", function()
|
||||
local a, b, c, d, e = this:GetPoint()
|
||||
local border = tonumber(C.appearance.border.default)
|
||||
@@ -137,6 +138,7 @@ pfUI:RegisterModule("skin", function ()
|
||||
if a then this:SetPoint(a, b, c, d, e) end
|
||||
end)
|
||||
|
||||
ShoppingTooltip2:SetClampedToScreen(true)
|
||||
ShoppingTooltip2:SetScript("OnShow", function()
|
||||
local a, b, c, d, e = this:GetPoint()
|
||||
local border = tonumber(C.appearance.border.default)
|
||||
|
||||
Reference in New Issue
Block a user