fix smooth scroll on key repeated

This commit is contained in:
Shin'ya Ueoka 2018-01-13 19:49:11 +09:00
parent 8fea1e5cd2
commit 335b9ca474
4 changed files with 55 additions and 28 deletions

View file

@ -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;
}