WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   RealUI (https://www.wowinterface.com/forums/forumdisplay.php?f=163)
-   -   Cursor anchor tooltip? (https://www.wowinterface.com/forums/showthread.php?t=58154)

Volanare 08-16-20 09:01 AM

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

Thanks

xSomax 09-05-20 02:04 AM

1 Attachment(s)
OK, so here's what I did:
open RealUI_Tooltips.lua and modify the following..
remove position leaving this line:

Quote:

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

Quote:

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

essex23 10-14-20 10:26 PM

Quote:

Originally Posted by xSomax (Post 336793)
OK, so here's what I did:
open RealUI_Tooltips.lua and modify the following..
remove position leaving this line:



then I changed



Or you can just download my modified .Lua file


Tried all of it, including your download...none of it worked for me. :(

Gethe 10-15-20 04:14 PM

This is a new option, in the Tooltips section at /realadv. Check "at cursor". If you have any further questions, please create a new thread.


All times are GMT -6. The time now is 07:09 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI