comparison SkeletonKey/Events.lua @ 57:9eebce04e69b

- Prevent bind settings from being updated in combat. - Close the UI during combat. - Resolve conflicting keybinds and inform the user of any results. - Resolve conflicts for talents, but only when they are active.
author Nenue
date Mon, 22 Aug 2016 09:24:02 -0400
parents daff39af0c6d
children 04c23ceaf9e0
comparison
equal deleted inserted replaced
56:2a95f4010c5a 57:9eebce04e69b
23 kb[event](kb, event, ...) 23 kb[event](kb, event, ...)
24 end 24 end
25 end 25 end
26 26
27 kb.PLAYER_REGEN_DISABLED = function() 27 kb.PLAYER_REGEN_DISABLED = function()
28 kb.ui() 28 kb:Hide()
29 end 29 end
30 30
31 kb.UNIT_PORTRAIT_UPDATE = function() 31 kb.UNIT_PORTRAIT_UPDATE = function()
32 if KeyBinderCharacterTab then 32 if KeyBinderCharacterTab then
33 SetPortraitTexture(KeyBinderCharacterTab.icon, 'player') 33 SetPortraitTexture(KeyBinderCharacterTab.icon, 'player')