Mercurial > wow > reaction
diff classes/ReBar.lua @ 10:f3a7bfebc283
Version 0.33
author | Flick <flickerstreak@gmail.com> |
---|---|
date | Tue, 20 Mar 2007 21:37:38 +0000 |
parents | c05fd3e18b4f |
children | 2735edcf9ab7 |
line wrap: on
line diff
--- a/classes/ReBar.lua Tue Mar 20 21:35:57 2007 +0000 +++ b/classes/ReBar.lua Tue Mar 20 21:37:38 2007 +0000 @@ -81,6 +81,7 @@ end local AceOO = AceLibrary("AceOO-2.0") +local ReBound = AceLibrary("ReBound-1.0") -- ReBar is an Ace 2 class prototype object. ReBar = AceOO.Class("AceEvent-2.0", ReAnchor, ReAnchor.IAnchorable) @@ -183,10 +184,8 @@ end -- register page up/down buttons with ReBound for keybinding - if ReBound then - ReBound:AddKeybindTarget(self.upArrow) - ReBound:AddKeybindTarget(self.downArrow) - end + ReBound:Register(self.upArrow) + ReBound:Register(self.downArrow) -- add bar to anchorTargets list table.insert(ReBar.anchorTargets, self)