Mercurial > wow > skeletonkey
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 71:ca3118127e5e | 72:c48913c5924c |
|---|---|
| 631 --OnCancel = function() kb:SetScript('OnMouseWheel', KeyBinder_OnMouseWheel) end | 631 --OnCancel = function() kb:SetScript('OnMouseWheel', KeyBinder_OnMouseWheel) end |
| 632 } | 632 } |
| 633 | 633 |
| 634 | 634 |
| 635 | 635 |
| 636 do | |
| 637 local MACRO_SELECTED_ID = 1 | |
| 638 local MACRO_SELECTED_NAME = GetMacroInfo(1) | |
| 639 kb.CreateMacroHooks = function() | |
| 640 print('|cFF00FF00setting up MacroUI hooks') | |
| 641 hooksecurefunc("MacroFrame_SelectMacro", function(id) | |
| 642 print('|cFF0088FFMacroFrame_SelectMacro|r', id) | |
| 643 MACRO_SELECTED_ID = id | |
| 644 for k,v in pairs(kb.bindings) do | |
| 645 --print(k,v) | |
| 646 end | |
| 647 | |
| 648 end) | |
| 649 end | |
| 650 end | |
| 651 | |
| 652 | 636 |
| 653 SkeletonKeyActionListMixin = Mixin(ActionListPanel, SkeletonKeyPanel) | 637 SkeletonKeyActionListMixin = Mixin(ActionListPanel, SkeletonKeyPanel) |
| 654 SkeletonKeySystemBindingsMixin = Mixin(SystemBindingsPanel, SkeletonKeyPanel) | 638 SkeletonKeySystemBindingsMixin = Mixin(SystemBindingsPanel, SkeletonKeyPanel) |
