Quantcast

Fixed an issue with mousing over a spellbook button in WoTLK

James Whitehead II [08-10-08 - 17:00]
Fixed an issue with mousing over a spellbook button in WoTLK
Filename
CliqueOptions.lua
diff --git a/CliqueOptions.lua b/CliqueOptions.lua
index 435163c..ce8a625 100644
--- a/CliqueOptions.lua
+++ b/CliqueOptions.lua
@@ -15,7 +15,7 @@ function Clique:OptionsOnLoad()

     for i=1,12 do
         local parent = getglobal("SpellButton"..i)
-        local button = CreateFrame("Button", nil, parent)
+        local button = CreateFrame("Button", "SpellButtonCliqueCover"..i, parent)
         button:SetID(parent:GetID())
         button:SetHighlightTexture("Interface\\Buttons\\ButtonHilight-Square")
         button:RegisterForClicks("LeftButtonUp","RightButtonUp", "MiddleButtonUp", "Button4Up", "Button5Up")