mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +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)
|
||||
|
||||
if pfUI_config.tooltip.position == "cursor" then
|
||||
function GameTooltip_SetDefaultAnchor(tooltip, parent)
|
||||
function _G.GameTooltip_SetDefaultAnchor(tooltip, parent)
|
||||
tooltip:SetOwner(parent, "ANCHOR_CURSOR")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user