mirror of
https://github.com/TermiT/Flycut.git
synced 2025-02-22 15:05:23 +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;
|
return;
|
||||||
}
|
}
|
||||||
unichar pressed = [[theEvent charactersIgnoringModifiers] characterAtIndex:0];
|
unichar pressed = [[theEvent charactersIgnoringModifiers] characterAtIndex:0];
|
||||||
|
NSUInteger modifiers = [theEvent modifierFlags];
|
||||||
switch ( pressed ) {
|
switch ( pressed ) {
|
||||||
case 0x1B:
|
case 0x1B:
|
||||||
[self hideApp];
|
[self hideApp];
|
||||||
|
@ -329,6 +330,11 @@
|
||||||
case 0x3: case 0xD: // Enter or Return
|
case 0x3: case 0xD: // Enter or Return
|
||||||
[self pasteFromStack];
|
[self pasteFromStack];
|
||||||
break;
|
break;
|
||||||
|
case 44: // Comma
|
||||||
|
if ( modifiers & NSCommandKeyMask ) {
|
||||||
|
[self showPreferencePanel:nil];
|
||||||
|
}
|
||||||
|
break;
|
||||||
case NSUpArrowFunctionKey:
|
case NSUpArrowFunctionKey:
|
||||||
case NSLeftArrowFunctionKey:
|
case NSLeftArrowFunctionKey:
|
||||||
[self stackUp];
|
[self stackUp];
|
||||||
|
|
Loading…
Reference in a new issue