mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-24 10:23:33 +01:00
Fix cryptic bug.
This commit is contained in:
@@ -115,9 +115,9 @@ var ProcessorStack = Class("ProcessorStack", {
|
|||||||
else {
|
else {
|
||||||
let list = this.events.filter(function (e) e.getPreventDefault() && !e.dactylDefaultPrevented);
|
let list = this.events.filter(function (e) e.getPreventDefault() && !e.dactylDefaultPrevented);
|
||||||
if (result === Events.PASS)
|
if (result === Events.PASS)
|
||||||
events.dbg("PASS THROUGH: " + list.slice(0, length).filter(function (e) e.type === "keypress").map(events.toString));
|
events.dbg("PASS THROUGH: " + list.slice(0, length).filter(function (e) e.type === "keypress").map(events.closure.toString));
|
||||||
if (list.length > length)
|
if (list.length > length)
|
||||||
events.dbg("REFEED: " + list.slice(length).filter(function (e) e.type === "keypress").map(events.toString));
|
events.dbg("REFEED: " + list.slice(length).filter(function (e) e.type === "keypress").map(events.closure.toString));
|
||||||
|
|
||||||
if (result === Events.PASS)
|
if (result === Events.PASS)
|
||||||
events.feedevents(null, list.slice(0, length), { skipmap: true, isMacro: true, isReplay: true });
|
events.feedevents(null, list.slice(0, length), { skipmap: true, isMacro: true, isReplay: true });
|
||||||
|
|||||||
Reference in New Issue
Block a user