PDA

View Full Version : Mousetooltip



Gromur
12-18-2004, 02:58 PM
Hi all, and thx Tiv for this great ui.
My problem/question

I dont like the popup at the mousecurcor if I point on a mob.
I find out that it has something to to with this part

function GameTooltip_OnEvent()
if ( event == "UPDATE_MOUSEOVER_UNIT" ) then
if ( UnitExists("mouseover") ) then
GameTooltip_SetDefaultAnchor(this, UIParent);
this:SetOwner(UIParent, "ANCHOR_CURSOR");
this:SetUnit("mouseover");
local r, g, b = GameTooltip_UnitColor("mouseover");
this:SetBackdropColor(r, g, b);

out of Gametooltip.lua
Please, how it must edit, that the infowindow appears in the lower right corner ?
Thx for you help, bye Gromur

Tivoli
12-19-2004, 10:39 AM
change the line that says;

this:SetOwner(UIParent, "ANCHOR_CURSOR");

To;

-- this:SetOwner(UIParent, "ANCHOR_CURSOR");

Gromur
12-19-2004, 11:29 AM
works great thank you Tiv :)

a67rhf7823jn8747==