mirror of
https://github.com/TermiT/Flycut.git
synced 2024-11-10 09:32:29 +08:00
New: Bezel accepts cmd+, to open the application preferences.
This commit is contained in:
parent
5e0fc08cbf
commit
419c05d468
1 changed files with 6 additions and 0 deletions
|
@ -322,6 +322,7 @@
|
|||
return;
|
||||
}
|
||||
unichar pressed = [[theEvent charactersIgnoringModifiers] characterAtIndex:0];
|
||||
NSUInteger modifiers = [theEvent modifierFlags];
|
||||
switch ( pressed ) {
|
||||
case 0x1B:
|
||||
[self hideApp];
|
||||
|
@ -329,6 +330,11 @@
|
|||
case 0x3: case 0xD: // Enter or Return
|
||||
[self pasteFromStack];
|
||||
break;
|
||||
case 44: // Comma
|
||||
if ( modifiers & NSCommandKeyMask ) {
|
||||
[self showPreferencePanel:nil];
|
||||
}
|
||||
break;
|
||||
case NSUpArrowFunctionKey:
|
||||
case NSLeftArrowFunctionKey:
|
||||
[self stackUp];
|
||||
|
|
Loading…
Reference in a new issue