Quantcast
Cursor anchor tooltip? - WoWInterface
Thread Tools Display Modes
08-16-20, 09:01 AM   #1
Volanare
A Kobold Labourer
Join Date: Nov 2011
Posts: 1
Cursor anchor tooltip?

Hello is there a way to anchor the tooltip to the cursor?

Thanks
  Reply With Quote
09-05-20, 02:04 AM   #2
xSomax
A Kobold Labourer
Join Date: Sep 2020
Posts: 1
OK, so here's what I did:
open RealUI_Tooltips.lua and modify the following..
remove position leaving this line:

local defaults = {
global = {
showTitles = true,
showRealm = false,
showIDs = false,
showTransmog = true,
multiTip = true,
currency = {},
}
}
then I changed

local tooltipAnchor = _G.CreateFrame("Frame", "RealUI_TooltipsAnchor", _G.UIParent)
tooltipAnchor:SetSize(50, 50)
_G.hooksecurefunc("GameTooltip_SetDefaultAnchor", function(tooltip, p)
tooltip:ClearAllPoints()
tooltip:SetOwner(p, "ANCHOR_CURSOR")
Or you can just download my modified .Lua file
Attached Files
File Type: lua RealUI_Tooltips.lua (22.5 KB, 12 views)
  Reply With Quote

WoWInterface » Featured Projects » RealUI » Cursor anchor tooltip?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off