- cleanup of mouse interaction for all modules

This commit is contained in:
Parnic
2010-10-16 20:00:35 +00:00
parent 7bf4c9b56e
commit f63c263669
5 changed files with 22 additions and 4 deletions

View File

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