mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
- fixed "allow click-targeting in combat" option for the new version of clique
This commit is contained in:
@ -915,10 +915,12 @@ function PlayerHealth.prototype:EnableClickTargeting(bEnable)
|
|||||||
else
|
else
|
||||||
self.frame.button:EnableMouse(false)
|
self.frame.button:EnableMouse(false)
|
||||||
self.frame.button:RegisterForClicks()
|
self.frame.button:RegisterForClicks()
|
||||||
|
self.frame.button:SetAttribute("type1")
|
||||||
|
self.frame.button:SetAttribute("type2")
|
||||||
|
|
||||||
-- set up click casting
|
-- set up click casting
|
||||||
ClickCastFrames = ClickCastFrames or {}
|
ClickCastFrames = ClickCastFrames or {}
|
||||||
ClickCastFrames[self.frame.button] = true
|
ClickCastFrames[self.frame.button] = false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user