diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-13 19:49:11 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-13 19:51:22 +0900 |
commit | 335b9ca47458b1817ef7705f4d999c25f423fad9 (patch) | |
tree | ad7fd77301dbabd8fce40b34f7088f1ca766f15b /src/shared/utils/keys.js | |
parent | 8fea1e5cd298fe04868b7b5ddbfbcc15c9d93f0e (diff) |
fix smooth scroll on key repeated
Diffstat (limited to 'src/shared/utils/keys.js')
-rw-r--r-- | src/shared/utils/keys.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/utils/keys.js b/src/shared/utils/keys.js index fba8ce3..8a86dfb 100644 --- a/src/shared/utils/keys.js +++ b/src/shared/utils/keys.js @@ -18,6 +18,7 @@ const fromKeyboardEvent = (e) => { return { key: modifierdKeyName(e.key), + repeat: e.repeat, shiftKey: shift, ctrlKey: e.ctrlKey, altKey: e.altKey, |