diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-13 19:44:19 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-13 19:44:19 +0900 |
commit | c202ab052917794b7d3f7af3413d2d0fcd1b3bba (patch) | |
tree | aa151e12a7eb0bdcc22bc92302f4cf3e0a521319 /src/content/components | |
parent | 91ea58008c2d7e64ffca4acf20749c8f7b3eb211 (diff) |
fix hot-reload settings
Diffstat (limited to 'src/content/components')
-rw-r--r-- | src/content/components/common/keymapper.js | 2 |
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); |