From 1bfcd439a1ffaf1f1d4706b29e3ef29c435ed209 Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Wed, 30 Jun 2010 19:51:07 -0400 Subject: [PATCH] Set the acquire_tip and spell_tip to be clamped to the screen so people who are silly enough to move the MainPanel to the edge of the screen where they have configured their tooltips to anchor will stop complaining about them being chopped off. --- Frame.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Frame.lua b/Frame.lua index 583e290..ea3d59d 100644 --- a/Frame.lua +++ b/Frame.lua @@ -543,7 +543,7 @@ do spell_tip:SetBackdropColor(GameTooltip:GetBackdropColor()) spell_tip:SetBackdropBorderColor(GameTooltip:GetBackdropBorderColor()) spell_tip:SetScale(addon.db.profile.frameopts.tooltipscale) - + spell_tip:SetClampedToScreen(true) spell_tip:SetHyperlink(link) spell_tip:Show() end @@ -823,6 +823,7 @@ do acquire_tip:SetPoint("BOTTOMLEFT", UIParent, "BOTTOMLEFT", x / uiscale, y / uiscale) end + acquire_tip:SetClampedToScreen(true) if _G.TipTac and _G.TipTac.AddModifiedTip then -- Pass true as second parameter because hooking OnHide causes C stack overflows -Torhal -- 1.7.9.5