mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 10:14:10 +01:00
Import fixes from groups branch.
This commit is contained in:
@@ -1330,7 +1330,7 @@ var Commands = Module("commands", {
|
||||
args["-description"],
|
||||
Command.bindMacro(args, "-ex",
|
||||
function makeParams(args, modifiers) ({
|
||||
args: {
|
||||
args: {
|
||||
__proto__: args,
|
||||
toString: function () this.string,
|
||||
},
|
||||
|
||||
@@ -57,8 +57,10 @@ var ProcessorStack = Class("ProcessorStack", {
|
||||
events.feedingKeys = false;
|
||||
}
|
||||
|
||||
for (var res = this.actions[0]; callable(res);)
|
||||
res = res();
|
||||
for (var res = this.actions[0]; callable(res);) {
|
||||
res = dactyl.trapErrors(res);
|
||||
dbg("ACTION RES: " + res);
|
||||
}
|
||||
result = res === Events.PASS ? Events.PASS : Events.KILL;
|
||||
}
|
||||
else if (result !== Events.KILL && !this.actions.length &&
|
||||
|
||||
@@ -424,7 +424,7 @@ var Modes = Module("modes", {
|
||||
|
||||
hidden: false,
|
||||
|
||||
input: false,
|
||||
input: Class.memoize(function () this.bases.length && this.bases.some(function (b) b.input)),
|
||||
|
||||
get passUnknown() this.input,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user