Mercurial > wow > reaction
diff modules/ReAction_Action/ReAction_Action.lua @ 93:567a885cdfad
- pet hotkey support
- fixed showgrid when in keybind mode for action buttons
- fixed a typo (bad 'self') in overlay.lua
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Fri, 17 Oct 2008 23:13:44 +0000 |
parents | 5f1d7a81317c |
children | ad49739d110d |
line wrap: on
line diff
--- a/modules/ReAction_Action/ReAction_Action.lua Fri Oct 17 22:43:57 2008 +0000 +++ b/modules/ReAction_Action/ReAction_Action.lua Fri Oct 17 23:13:44 2008 +0000 @@ -116,12 +116,14 @@ function module:LIBKEYBOUND_ENABLED(evt) for _, h in pairs(self.handles) do + h:ShowGrid(true) h:SetKeybindMode(true) end end function module:LIBKEYBOUND_DISABLED(evt) for _, h in pairs(self.handles) do + h:ShowGrid(false) h:SetKeybindMode(false) end end @@ -322,6 +324,12 @@ end end + function Handle:ShowGrid(show) + for _, b in pairs(self.btns) do + b:ShowGrid(show) + end + end + function Handle:SetKeybindMode(mode) for _, b in pairs(self.btns) do if mode then