mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 23:05:50 +01:00
Fix fallout from revision b9e99e213cb9.
Update issue \#293 Fixed.
This commit is contained in:
@@ -38,7 +38,7 @@ var ProcessorStack = Class("ProcessorStack", {
|
||||
};
|
||||
}
|
||||
|
||||
if (!builtin && options.get("passkeys").hive.values.length
|
||||
if (!builtin && options.get("passkeys").hive.active
|
||||
&& (!dactyl.focusedElement || events.isContentNode(dactyl.focusedElement)))
|
||||
this.processors.unshift(KeyProcessor(modes.BASE, options.get("passkeys").hive));
|
||||
},
|
||||
@@ -1534,15 +1534,15 @@ var Events = Module("events", {
|
||||
flush: function flush() {
|
||||
memoize(this, "hive", function hive()
|
||||
let (values = this.value.filter(function (f) f(buffer.documentURI))) {
|
||||
get active() this.stack.length,
|
||||
|
||||
get: function get(mode, key) this.stack.mappings[key],
|
||||
|
||||
getCandidates: function getCandidates(mode, key) this.stack.candidates[key],
|
||||
|
||||
pass: set(array.flatten(values.map(function (v) v.keys))),
|
||||
|
||||
stack: MapHive.Stack(values.map(function (v) v.map)),
|
||||
|
||||
values: values
|
||||
stack: MapHive.Stack(values.map(function (v) v.map))
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user