mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
skin: add Tooltips
This commit is contained in:
@@ -1,11 +1,4 @@
|
||||
pfUI:RegisterModule("tooltip", function ()
|
||||
local alpha = tonumber(C.tooltip.alpha)
|
||||
CreateBackdrop(GameTooltip, nil, nil, alpha)
|
||||
|
||||
-- prevent tooltips from being placed offscreen
|
||||
GameTooltip:SetClampedToScreen(true)
|
||||
GameTooltipStatusBar:SetClampedToScreen(true)
|
||||
|
||||
if C.tooltip.position == "cursor" then
|
||||
function _G.GameTooltip_SetDefaultAnchor(tooltip, parent)
|
||||
tooltip:SetOwner(parent, "ANCHOR_CURSOR")
|
||||
|
||||
Reference in New Issue
Block a user