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

Fix minor event replay issue.

This commit is contained in:
Kris Maglione
2011-03-12 17:04:36 -05:00
parent c1c97dcd54
commit 6e909fb544

View File

@@ -92,7 +92,8 @@ var ProcessorStack = Class("ProcessorStack", {
this.timer = services.Timer(this, options["timeoutlen"], services.Timer.TYPE_ONE_SHOT);
}
else if (result !== Events.KILL && !this.actions.length &&
!(this.passUnknown || this.modes.some(function (m) m.passEvent(this), this.events[0]))) {
!(this.events[0].isReplay || this.passUnknown
|| this.modes.some(function (m) m.passEvent(this), this.events[0]))) {
result = Events.ABORT;
if (!Events.isEscape(this.events.slice(-1)[0]))
dactyl.beep();