diff VehicleExitButton.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 46b59a9ded76
children 36a29870bf34
line wrap: on
line diff
--- a/VehicleExitButton.lua	Mon Apr 04 13:04:11 2011 -0700
+++ b/VehicleExitButton.lua	Mon Apr 25 11:43:42 2011 -0700
@@ -48,8 +48,6 @@
   f:SetScript("OnEvent", function(frame, evt, ...) self:OnEvent(evt,...) end)
 
   -- event registration
-  f:EnableMouse(true)
-  f:RegisterForClicks("AnyUp")
   f:RegisterEvent("UPDATE_BINDINGS")
 
   -- attach to skinner