Fixed an issue with the updated rust-cocoa crate
This commit is contained in:
parent
293dcdc9a4
commit
77d00a8e5a
2 changed files with 4 additions and 3 deletions
|
|
@ -1,6 +1,4 @@
|
|||
use events;
|
||||
use cocoa::base::NSUInteger;
|
||||
use cocoa::appkit;
|
||||
|
||||
pub fn vkeycode_to_element(code: u16) -> Option<events::VirtualKeyCode> {
|
||||
Some(match code {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue