Files
oak-gpui/crates/gpui/src
Antonio Scandurra 318deed25b Skip key down event if preceded by its key equivalent version
Previously, we would only track whether the previous key down event
was a key equivalent. However, this could cause issues when pressing
certain keystrokes in rapid succession, e.g.:

- Pressing `shift-right` (to select a character)
- Pressing a character (with or without `shift` held down)

This would cause GPUI to ignore the second event because it was
preceded by a key equivalent event. With this commit, we track the
last key equivalent event, and skip the key down event only if it
matches the last key equivalent event.
2023-07-07 12:02:08 +02:00
..
fmt
2023-06-28 16:35:57 -07:00
fmt
2023-06-28 16:35:57 -07:00
2023-05-01 16:27:36 +02:00
2023-03-06 14:26:32 -08:00
2023-06-25 07:51:50 -06:00
2023-06-16 21:36:42 +02:00
2023-06-19 11:36:42 -07:00
2023-06-02 22:02:19 -04:00
2023-06-16 21:36:42 +02:00
2023-05-08 19:36:51 +03:00