1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 02:25:45 +01:00

Beep at failed key chains.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-28 04:58:56 -05:00
parent a0aebadc87
commit 032ba5fa50
3 changed files with 6 additions and 1 deletions

View File

@@ -61,7 +61,8 @@ var ProcessorStack = Class("ProcessorStack", {
result = res === Events.PASS ? Events.PASS : Events.KILL;
}
else if (result !== Events.KILL && !this.actions.length &&
this.processors.some(function (p) !p.main.passUnknown)) {
(this.events.length > 1 ||
this.processors.some(function (p) !p.main.passUnknown))) {
result = Events.KILL;
dactyl.beep();
events.feedingKeys = false;