First draft of conversion to the Blizzard template
This commit is contained in:
+3
-3
@@ -164,7 +164,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%dSecure"):format(i)
|
||||
local button, real_button = ("ACTIONBUTTON%d"):format(i), ("BT4Button%d"):format(i)
|
||||
for k=1, select('#', GetBindingKey(button)) do
|
||||
local key = select(k, GetBindingKey(button))
|
||||
SetOverrideBindingClick(frame, false, key, real_button)
|
||||
@@ -172,8 +172,8 @@ function BT4ActionBars:ReassignBindings()
|
||||
end
|
||||
|
||||
for i = 1, 120 do
|
||||
-- rename old bindings from <buttonname>Secure to only <buttonname)
|
||||
local button, real_button = ("CLICK BT4Button%d:LeftButton"):format(i), ("BT4Button%dSecure"):format(i)
|
||||
-- rename old bindings from <buttonname>Secure to only <buttonname>
|
||||
local button, real_button = ("CLICK BT4Button%dSecure:LeftButton"):format(i), ("BT4Button%d"):format(i)
|
||||
|
||||
for k=1, select('#', GetBindingKey(button)) do
|
||||
local key = select(k, GetBindingKey(button))
|
||||
|
||||
Reference in New Issue
Block a user