Move handling of modifier changes to new View hook
This commit is contained in:
parent
6e363e464c
commit
b9308ad80d
4 changed files with 57 additions and 77 deletions
|
@ -11,7 +11,7 @@ pub struct KeyUpEvent {
|
|||
pub keystroke: Keystroke,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, Default)]
|
||||
pub struct ModifiersChangedEvent {
|
||||
pub ctrl: bool,
|
||||
pub alt: bool,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue