mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
tooltip: replace function in global space
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ local alpha = tonumber(pfUI_config.tooltip.alpha)
|
|||||||
pfUI.api:CreateBackdrop(GameTooltip, nil, nil, alpha)
|
pfUI.api:CreateBackdrop(GameTooltip, nil, nil, alpha)
|
||||||
|
|
||||||
if pfUI_config.tooltip.position == "cursor" then
|
if pfUI_config.tooltip.position == "cursor" then
|
||||||
function GameTooltip_SetDefaultAnchor(tooltip, parent)
|
function _G.GameTooltip_SetDefaultAnchor(tooltip, parent)
|
||||||
tooltip:SetOwner(parent, "ANCHOR_CURSOR")
|
tooltip:SetOwner(parent, "ANCHOR_CURSOR")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user