From 679cb3df701fb031213cacb6564d480f95d7db7f Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Tue, 20 Apr 2010 20:49:46 -0400 Subject: [PATCH] In SetTooltipScripts(): Anchor the tooltip to the top-right of the frame instead of wherever the hell the default/AddOn-of-choice decides to put it. --- Frame.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frame.lua b/Frame.lua index 71b7991..4f3485a 100644 --- a/Frame.lua +++ b/Frame.lua @@ -259,7 +259,7 @@ do local HIGHLIGHT_FONT_COLOR = _G.HIGHLIGHT_FONT_COLOR local function Show_Tooltip(frame, motion) - GameTooltip_SetDefaultAnchor(GameTooltip, frame) + GameTooltip:SetOwner(frame, "ANCHOR_RIGHT") GameTooltip:SetText(frame.tooltip_text, HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b) GameTooltip:Show() end -- 1.7.9.5