aboutsummaryrefslogtreecommitdiff
path: root/src/content/components/common/keymapper.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/components/common/keymapper.js')
-rw-r--r--src/content/components/common/keymapper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/components/common/keymapper.js b/src/content/components/common/keymapper.js
index 0abbc91..fb8fabe 100644
--- a/src/content/components/common/keymapper.js
+++ b/src/content/components/common/keymapper.js
@@ -25,7 +25,7 @@ export default class KeymapperComponent {
let state = this.store.getState();
let input = state.input;
- let keymaps = state.setting.keymaps;
+ let keymaps = new Map(state.setting.keymaps);
let matched = Array.from(keymaps.keys()).filter((mapping) => {
return mapStartsWith(mapping, input.keys);