diff BagButton.lua @ 259:c918ff9ac787

Add option to make buttons activate on mouse/key down
author Flick
date Mon, 25 Apr 2011 11:43:42 -0700
parents 65f2805957a0
children 36a29870bf34
line wrap: on
line diff
--- a/BagButton.lua	Mon Apr 04 13:04:11 2011 -0700
+++ b/BagButton.lua	Mon Apr 25 11:43:42 2011 -0700
@@ -80,8 +80,6 @@
   -- (none)
 
   -- event registration
-  f:EnableMouse(true)
-  f:RegisterForClicks("LeftButtonUp","RightButtonUp")
   f:RegisterEvent("UPDATE_BINDINGS")
 
   -- frame setup