mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 18:34:11 +01:00
Fix :map/:unmap 1st argument completions. Slight hive api changes.
This commit is contained in:
@@ -878,7 +878,7 @@ var Events = Module("events", {
|
||||
if (!key)
|
||||
return null;
|
||||
|
||||
if (modes.recording && (!this._input || !mappings.userHive.hasMap(modes.main, this._input.buffer + key)))
|
||||
if (modes.recording && (!this._input || !mappings.user.hasMap(modes.main, this._input.buffer + key)))
|
||||
events._macroKeys.push(key);
|
||||
|
||||
// feedingKeys needs to be separate from interrupted so
|
||||
@@ -958,7 +958,7 @@ var Events = Module("events", {
|
||||
input.preExecute = params.preExecute;
|
||||
if (params.postExecute)
|
||||
input.postExecute = params.postExecute;
|
||||
if (params.onEvent && input.hive === mappings.builtinHive)
|
||||
if (params.onEvent && input.hive === mappings.builtin)
|
||||
input.fallthrough = function (event) {
|
||||
return params.onEvent(event) === false ? Events.KILL : Events.PASS;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user