mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- removed ClickCastFrame unregistration to avoid problems with people who have the older version of clique (basically everyone)
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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")
|
||||
|
Reference in New Issue
Block a user