fix smooth scroll on key repeated
This commit is contained in:
parent
8fea1e5cd2
commit
335b9ca474
4 changed files with 55 additions and 28 deletions
|
@ -18,6 +18,7 @@ const fromKeyboardEvent = (e) => {
|
|||
|
||||
return {
|
||||
key: modifierdKeyName(e.key),
|
||||
repeat: e.repeat,
|
||||
shiftKey: shift,
|
||||
ctrlKey: e.ctrlKey,
|
||||
altKey: e.altKey,
|
||||
|
|
Reference in a new issue