Mercurial > wow > reaction
diff PetActionButton.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/PetActionButton.lua Mon Apr 04 13:04:11 2011 -0700 +++ b/PetActionButton.lua Mon Apr 25 11:43:42 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