Skip to content

Commit

Permalink
fix(input/#2926): Part 2 - Right arrow key treated as PageUp (#2928)
Browse files Browse the repository at this point in the history
__Issue:__ Right arrow key is being treated as page-up

__Defect:__ An incorrect conversion snuck in #2902 

__Fix:__ Fix the keycode -> key mapping for right arrow key

Related #2926
  • Loading branch information
bryphe authored Jan 4, 2021
1 parent a3285ae commit 613c38c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES_CURRENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
- #2902 - Input: Fix remaps for characters w/o scancode (fixes #2883)
- #2908 - Input: Fix no-recursive remap behavior (fixes #2114)
- #2917 - Extensions: CodeLens - fix extraneous animation with multiple providers
- #2628 - Input: Right arrow key treated as PageUp

### Performance

Expand Down
2 changes: 1 addition & 1 deletion src/Feature/Input/ReveryKeyConverter.re
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module Internal = {
| v when v == 1073741899 => Some(Key.PageUp)
| v when v == 1073741901 => Some(Key.End)
| v when v == 1073741902 => Some(Key.PageDown)
| v when v == 1073741903 => Some(Key.PageUp)
| v when v == 1073741903 => Some(Key.Right)
| v when v == 1073741904 => Some(Key.Left)
| v when v == 1073741905 => Some(Key.Down)
| v when v == 1073741906 => Some(Key.Up)
Expand Down

0 comments on commit 613c38c

Please sign in to comment.