Add Keyboard variant to canvas::Event
This commit is contained in:
parent
9ba4cfd23f
commit
00d66da0ce
4 changed files with 9 additions and 0 deletions
|
|
@ -173,6 +173,9 @@ where
|
|||
iced_native::Event::Mouse(mouse_event) => {
|
||||
Some(Event::Mouse(mouse_event))
|
||||
}
|
||||
iced_native::Event::Keyboard(keyboard_event) => {
|
||||
Some(Event::Keyboard(keyboard_event))
|
||||
}
|
||||
_ => None,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue