- re-order button internals, should be easier to apply skins to now.

- will flush all keybindings made with keyBound (yeah branch and all :P run s/BT4Button([^:]+):/BT4Button\1Secure:/ on your bindings cache :p )
This commit is contained in:
Hendrik Leppkes
2008-04-08 16:31:53 +00:00
parent e4510fbbb4
commit fa1419dc05
3 changed files with 43 additions and 49 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ function BT4ActionBars:ReassignBindings()
local frame = self.actionbars[1]
ClearOverrideBindings(frame)
for i = 1,min(#frame.buttons, 12) do
local button, real_button = ("ACTIONBUTTON%d"):format(i), ("BT4Button%d"):format(i)
local button, real_button = ("ACTIONBUTTON%d"):format(i), ("BT4Button%dSecure"):format(i)
for k=1, select('#', GetBindingKey(button)) do
local key = select(k, GetBindingKey(button))
SetOverrideBindingClick(frame, false, key, real_button)