diff SkeletonKey/KeyBinds.lua @ 7:a2fc77fa4c73

- make sure key bindings honor the `ActionButtonUseKeyDown' CVar
author Nenue
date Thu, 28 Jul 2016 17:27:40 -0400
parents f6d1c192afc6
children 539fd88338f2
line wrap: on
line diff
--- a/SkeletonKey/KeyBinds.lua	Thu Jul 28 16:45:56 2016 -0400
+++ b/SkeletonKey/KeyBinds.lua	Thu Jul 28 17:27:40 2016 -0400
@@ -16,9 +16,9 @@
 
 local _
 local kb, print = LibStub("LibKraken").register(KeyBinder)
-local db
 local cprint = DEVIAN_WORKSPACE and function(...) _G.print('Cfg', ...) end or function() end
 
+
 --- Caps Lock literals
 local CLICK_KEYBINDER_MACRO = "CLICK KeyBinderMacro:"
 local CLICK_KEYBINDER_KEY = "CLICK KeyBinderKey:"
@@ -87,6 +87,8 @@
 kb.inactiveTalentBindings = {}
 -- placeholder for the StaticPopup used for confirmations
 local confirmation
+-- savedvars, pulled a lot here
+local db
 
 local protected = {
   ['OPENCHATSLASH'] = true,
@@ -178,16 +180,10 @@
   end
 end
 
-
-
-
 kb.DropToSlot = function(self)
-
   print(self:GetName(),'|cFF0088FFreceived|r')
   local actionType, actionID, subType, subData = GetCursorInfo()
   print('GetCursorInfo', GetCursorInfo())
-
-
   if actionType then
 
     if actionType == 'flyout' then