mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- cleanup of mouse interaction for all modules
This commit is contained in:
@ -223,6 +223,10 @@ function PetHealth.prototype:EnableClickTargeting(bEnable)
|
||||
else
|
||||
self.frame.button:EnableMouse(false)
|
||||
self.frame.button:RegisterForClicks()
|
||||
|
||||
-- set up click casting
|
||||
ClickCastFrames = ClickCastFrames or {}
|
||||
ClickCastFrames[self.frame.button] = false
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user