From 3af07ee30d2d9119751c6a45706b9abc72b44d8d Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 17 Oct 2010 05:46:54 +0000 Subject: [PATCH] - removed ClickCastFrame unregistration to avoid problems with people who have the older version of clique (basically everyone) --- modules/FocusHealth.lua | 4 ++-- modules/PetHealth.lua | 4 ++-- modules/PlayerHealth.lua | 4 ++-- modules/TargetHealth.lua | 4 ++-- modules/TargetInfo.lua | 4 ++-- modules/TargetOfTarget.lua | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/modules/FocusHealth.lua b/modules/FocusHealth.lua index 0334354..b3166d1 100644 --- a/modules/FocusHealth.lua +++ b/modules/FocusHealth.lua @@ -308,8 +308,8 @@ function FocusHealth.prototype:EnableClickTargeting(bEnable) self.frame.button:RegisterForClicks() -- set up click casting - ClickCastFrames = ClickCastFrames or {} - ClickCastFrames[self.frame.button] = false + --ClickCastFrames = ClickCastFrames or {} + --ClickCastFrames[self.frame.button] = false end end diff --git a/modules/PetHealth.lua b/modules/PetHealth.lua index e9f3db7..229d100 100644 --- a/modules/PetHealth.lua +++ b/modules/PetHealth.lua @@ -225,8 +225,8 @@ function PetHealth.prototype:EnableClickTargeting(bEnable) self.frame.button:RegisterForClicks() -- set up click casting - ClickCastFrames = ClickCastFrames or {} - ClickCastFrames[self.frame.button] = false + --ClickCastFrames = ClickCastFrames or {} + --ClickCastFrames[self.frame.button] = false end end diff --git a/modules/PlayerHealth.lua b/modules/PlayerHealth.lua index debeba9..ffced31 100644 --- a/modules/PlayerHealth.lua +++ b/modules/PlayerHealth.lua @@ -920,8 +920,8 @@ function PlayerHealth.prototype:EnableClickTargeting(bEnable) self.frame.button:SetAttribute("unit") -- set up click casting - ClickCastFrames = ClickCastFrames or {} - ClickCastFrames[self.frame.button] = false + --ClickCastFrames = ClickCastFrames or {} + --ClickCastFrames[self.frame.button] = false end end diff --git a/modules/TargetHealth.lua b/modules/TargetHealth.lua index 260c162..0048888 100644 --- a/modules/TargetHealth.lua +++ b/modules/TargetHealth.lua @@ -731,8 +731,8 @@ function IceTargetHealth.prototype:EnableClickTargeting(bEnable) self.frame.button:RegisterForClicks() -- click casting support - ClickCastFrames = ClickCastFrames or {} - ClickCastFrames[self.frame.button] = false + --ClickCastFrames = ClickCastFrames or {} + --ClickCastFrames[self.frame.button] = false self.frame.button:SetParent() self.frame.button = nil diff --git a/modules/TargetInfo.lua b/modules/TargetInfo.lua index a60cf28..a6459d5 100644 --- a/modules/TargetInfo.lua +++ b/modules/TargetInfo.lua @@ -813,8 +813,8 @@ function IceTargetInfo.prototype:CreateFrame(redraw) self.frame:SetAttribute("type2") -- set up click casting - ClickCastFrames = ClickCastFrames or {} - ClickCastFrames[self.frame] = false + --ClickCastFrames = ClickCastFrames or {} + --ClickCastFrames[self.frame] = false end self.frame.unit = self.unit diff --git a/modules/TargetOfTarget.lua b/modules/TargetOfTarget.lua index 8170914..dec91b6 100644 --- a/modules/TargetOfTarget.lua +++ b/modules/TargetOfTarget.lua @@ -323,8 +323,8 @@ function TargetOfTarget.prototype:CreateFrame() self.frame:SetScript("OnLeave", nil) -- click casting support - ClickCastFrames = ClickCastFrames or {} - ClickCastFrames[self.frame] = false + --ClickCastFrames = ClickCastFrames or {} + --ClickCastFrames[self.frame] = false end self.frame:SetAttribute("type1", "target")