Add support for CompactRaidFrames.
James Whitehead II [09-13-10 - 21:45]
Add support for CompactRaidFrames.
Thanks to Sylvanaar for testing and writing this code.
diff --git a/Clique.lua b/Clique.lua
index e517dec..1b98864 100644
--- a/Clique.lua
+++ b/Clique.lua
@@ -109,6 +109,12 @@ function Clique:Enable()
end
hooksecurefunc("CreateFrame", raidFunc)
+
+ --CompactUnitFrame_SetUpFrame(frame, info.setUpFunc);
+ hooksecurefunc("CompactUnitFrame_SetUpFrame",
+ function(frame, ...)
+ ClickCastFrames[frame] = true
+ end )
-- Create our slash command
self.cmd = self:InitializeSlashCommand("Clique commands", "CLIQUE", "clique")