diff BindingsFrame.lua @ 72:c48913c5924c

- Dynamic bindings properly update between talent choices, and the hotkey text is also correctly reflected.
author Nenue
date Sat, 07 Jan 2017 12:47:41 -0500
parents ca3118127e5e
children 9824d524a661
line wrap: on
line diff
--- a/BindingsFrame.lua	Fri Jan 06 16:21:49 2017 -0500
+++ b/BindingsFrame.lua	Sat Jan 07 12:47:41 2017 -0500
@@ -633,22 +633,6 @@
 
 
 
-do
-  local MACRO_SELECTED_ID = 1
-  local MACRO_SELECTED_NAME = GetMacroInfo(1)
-  kb.CreateMacroHooks = function()
-    print('|cFF00FF00setting up MacroUI hooks')
-    hooksecurefunc("MacroFrame_SelectMacro", function(id)
-      print('|cFF0088FFMacroFrame_SelectMacro|r', id)
-      MACRO_SELECTED_ID = id
-      for k,v in pairs(kb.bindings) do
-        --print(k,v)
-      end
-
-    end)
-  end
-end
-
 
 SkeletonKeyActionListMixin = Mixin(ActionListPanel, SkeletonKeyPanel)
 SkeletonKeySystemBindingsMixin = Mixin(SystemBindingsPanel, SkeletonKeyPanel)
\ No newline at end of file