- removed ClickCastFrame unregistration to avoid problems with people who have the older version of clique (basically everyone)

This commit is contained in:
Parnic
2010-10-17 05:46:54 +00:00
parent f63c263669
commit 3af07ee30d
6 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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")