mirror of
https://github.com/TermiT/Flycut.git
synced 2025-02-25 00:13:46 +08:00
Merge pull request #31 from fiddlerwoaroof/master
Minor changes to bezel
This commit is contained in:
commit
d5d106afcd
1 changed files with 15 additions and 1 deletions
|
@ -261,6 +261,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (void)changeStack
|
||||
{
|
||||
if ( [clippingStore jcListCount] > stackPosition ) {
|
||||
[self pasteIndex: stackPosition];
|
||||
[self performSelector:@selector(hideApp) withObject:nil afterDelay:0.2];
|
||||
} else {
|
||||
[self performSelector:@selector(hideApp) withObject:nil afterDelay:0.2];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
- (void)pasteIndex:(int) position {
|
||||
[self addClipToPasteboardFromCount:position];
|
||||
|
||||
|
@ -344,9 +355,12 @@
|
|||
case 0x1B:
|
||||
[self hideApp];
|
||||
break;
|
||||
case 0x3: case 0xD: // Enter or Return
|
||||
case 0xD: // Enter or Return
|
||||
[self pasteFromStack];
|
||||
break;
|
||||
case 0x3:
|
||||
[self changeStack];
|
||||
break;
|
||||
case 0x2C: // Comma
|
||||
if ( modifiers & NSCommandKeyMask ) {
|
||||
[self showPreferencePanel:nil];
|
||||
|
|
Loading…
Reference in a new issue