aboutsummaryrefslogtreecommitdiff
path: root/src/shared/utils
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-01-13 11:14:55 +0000
committerGitHub <noreply@github.com>2018-01-13 11:14:55 +0000
commit2302a1d8b5472b30fd202070b71dc6c43f7e469c (patch)
treead7fd77301dbabd8fce40b34f7088f1ca766f15b /src/shared/utils
parent4d4a959162da0a4f1eb16c3ce94e83da0465f865 (diff)
parent335b9ca47458b1817ef7705f4d999c25f423fad9 (diff)
Merge pull request #307 from ueokande/smooth-scroll
Smooth scroll
Diffstat (limited to 'src/shared/utils')
-rw-r--r--src/shared/utils/keys.js1
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,