mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40: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
|
||||
self.frame.button:EnableMouse(false)
|
||||
self.frame.button:RegisterForClicks()
|
||||
self.frame.button:SetAttribute("type1")
|
||||
self.frame.button:SetAttribute("type2")
|
||||
|
||||
-- set up click casting
|
||||
ClickCastFrames = ClickCastFrames or {}
|
||||
ClickCastFrames[self.frame.button] = true
|
||||
ClickCastFrames[self.frame.button] = false
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user