From d9ddccf5000f328146121d91437dcf6822aef3c6 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 30 Nov 2009 22:49:43 +0100 Subject: [PATCH] Remove anchoring to prevent taints --- Molinari.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Molinari.lua b/Molinari.lua index c14ac6e..5c3044e 100644 --- a/Molinari.lua +++ b/Molinari.lua @@ -16,6 +16,7 @@ button:SetScript('OnLeave', function(self) self:RegisterEvent('PLAYER_REGEN_ENABLED') else self:Hide() + self:ClearAllPoints() AutoCastShine_AutoCastStop(self) end end) @@ -66,7 +67,6 @@ GameTooltip:HookScript('OnTooltipSetItem', function(self) local slot = GetMouseFocus() button:SetAttribute('macrotext', macro:format(spell, slot:GetParent():GetID(), slot:GetID())) button:SetAllPoints(slot) - button:SetParent(slot) button:Show() AutoCastShine_AutoCastStart(button, r, g, b) end -- 1.7.9.5