aboutsummaryrefslogtreecommitdiff
path: root/src/content/components/common
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-01-13 19:49:11 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-01-13 19:51:22 +0900
commit335b9ca47458b1817ef7705f4d999c25f423fad9 (patch)
treead7fd77301dbabd8fce40b34f7088f1ca766f15b /src/content/components/common
parent8fea1e5cd298fe04868b7b5ddbfbcc15c9d93f0e (diff)
fix smooth scroll on key repeated
Diffstat (limited to 'src/content/components/common')
-rw-r--r--src/content/components/common/keymapper.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/components/common/keymapper.js b/src/content/components/common/keymapper.js
index fa8c33a..d9d1b2f 100644
--- a/src/content/components/common/keymapper.js
+++ b/src/content/components/common/keymapper.js
@@ -47,7 +47,8 @@ export default class KeymapperComponent {
return true;
}
let operation = keymaps.get(matched[0]);
- this.store.dispatch(operationActions.exec(operation, state.setting));
+ this.store.dispatch(operationActions.exec(
+ operation, key.repeat, state.setting));
this.store.dispatch(inputActions.clearKeys());
return true;
}