diff PetActionButton.lua @ 264:d2e55b61e5e6 stable

Merge 1.1 beta 6 to stable
author Flick
date Fri, 06 May 2011 15:52:21 -0700
parents c918ff9ac787
children 36a29870bf34
line wrap: on
line diff
--- a/PetActionButton.lua	Tue Apr 12 16:07:21 2011 -0700
+++ b/PetActionButton.lua	Fri May 06 15:52:21 2011 -0700
@@ -140,9 +140,7 @@
   barFrame:WrapScript(f, "OnReceiveDrag", _onReceiveDrag)
 
   -- event registration
-  f:EnableMouse(true)
   f:RegisterForDrag("LeftButton", "RightButton")
-  f:RegisterForClicks("AnyUp")
   for _, evt in pairs(eventList) do
     f:RegisterEvent(evt)
   end