Mercurial > wow > skeletonkey
comparison SkeletonKey/ActionTemplates.lua @ 49:9a9d7f2a7c07
- handle mouse input with string.upper
- process input for the whole bindings frame region when a slot is activated
- fix various errors arising from handler inconsistencies
| author | Nenue |
|---|---|
| date | Thu, 18 Aug 2016 01:34:22 -0400 |
| parents | daff39af0c6d |
| children | 1aba8a6fd4a9 |
comparison
equal
deleted
inserted
replaced
| 48:83b941c7e260 | 49:9a9d7f2a7c07 |
|---|---|
| 406 | 406 |
| 407 kb.pendingAttributes = {} | 407 kb.pendingAttributes = {} |
| 408 kb.SecureAttribute = function(target, name, value) | 408 kb.SecureAttribute = function(target, name, value) |
| 409 if InCombatLockdown() then | 409 if InCombatLockdown() then |
| 410 if #kb.pendingAttributes == 0 then | 410 if #kb.pendingAttributes == 0 then |
| 411 kb:Print(kb.L('Key bindings will be applied when you exit combat.')) | 411 kb:print(kb.L('Key bindings will be applied when you exit combat.')) |
| 412 end | 412 end |
| 413 | 413 |
| 414 tinsert(kb.pendingAttributes, {target, name, value}) | 414 tinsert(kb.pendingAttributes, {target, name, value}) |
| 415 kb:RegisterEvent('PLAYER_REGEN_ENABLED') | 415 kb:RegisterEvent('PLAYER_REGEN_ENABLED') |
| 416 | 416 |
