Remove catch all keymap and KeyPressed action
This commit is contained in:
parent
459060764a
commit
327932ba3b
4 changed files with 14 additions and 45 deletions
|
@ -184,7 +184,7 @@ impl MacForegroundPlatform {
|
|||
.map(|binding| binding.keystrokes());
|
||||
|
||||
let item;
|
||||
if let Some(keystrokes) = keystrokes.flatten() {
|
||||
if let Some(keystrokes) = keystrokes {
|
||||
if keystrokes.len() == 1 {
|
||||
let keystroke = &keystrokes[0];
|
||||
let mut mask = NSEventModifierFlags::empty();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue