Don't insert input in editor when control keys are pressed
This commit is contained in:
parent
7cd5dbd2a8
commit
618f0a127a
4 changed files with 34 additions and 32 deletions
|
@ -4,7 +4,7 @@ use crate::{geometry::vector::Vector2F, keymap::Keystroke};
|
|||
pub enum Event {
|
||||
KeyDown {
|
||||
keystroke: Keystroke,
|
||||
chars: String,
|
||||
input: Option<String>,
|
||||
is_held: bool,
|
||||
},
|
||||
ScrollWheel {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue