diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-01-13 11:14:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-13 11:14:55 +0000 |
commit | 2302a1d8b5472b30fd202070b71dc6c43f7e469c (patch) | |
tree | ad7fd77301dbabd8fce40b34f7088f1ca766f15b /src/shared/utils | |
parent | 4d4a959162da0a4f1eb16c3ce94e83da0465f865 (diff) | |
parent | 335b9ca47458b1817ef7705f4d999c25f423fad9 (diff) |
Merge pull request #307 from ueokande/smooth-scroll
Smooth scroll
Diffstat (limited to 'src/shared/utils')
-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, |