From c048ad49a4d113b9371efa94ee58c6e7f93f8eef Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Wed, 16 Jun 2010 03:57:12 -0400 Subject: [PATCH] Changed tooltip anchoring to account for changes to the panel. --- Frame.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Frame.lua b/Frame.lua index 05e52bb..849822f 100644 --- a/Frame.lua +++ b/Frame.lua @@ -901,13 +901,13 @@ do acquire_tip:ClearAllPoints() if acquire_tip_anchor == "Right" then - acquire_tip:SetPoint("TOPLEFT", MainPanel, "TOPRIGHT") + acquire_tip:SetPoint("TOPLEFT", MainPanel, "TOPRIGHT", MainPanel.is_expanded and -90 or -35, 0) elseif acquire_tip_anchor == "Left" then acquire_tip:SetPoint("TOPRIGHT", MainPanel, "TOPLEFT") elseif acquire_tip_anchor == "Top" then acquire_tip:SetPoint("BOTTOMLEFT", MainPanel, "TOPLEFT") elseif acquire_tip_anchor == "Bottom" then - acquire_tip:SetPoint("TOPLEFT", MainPanel, "BOTTOMLEFT") + acquire_tip:SetPoint("TOPLEFT", MainPanel, "BOTTOMLEFT", 0, 55) elseif acquire_tip_anchor == "Mouse" then local x, y = GetCursorPosition() local uiscale = UIParent:GetEffectiveScale() -- 1.7.9.5