This commit is contained in:
Danny Greg 2012-09-14 10:54:38 +01:00
Родитель 7d7534c5fe
Коммит 4ddf6624b9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -90,7 +90,7 @@ static NSTimeInterval const RBLPopoverDefaultFadeoutDuration = 0.3;
[self removeEventMonitor];
}
self.transientEventMonitor = [NSEvent addLocalMonitorForEventsMatchingMask:(NSLeftMouseDownMask | NSRightMouseDownMask | NSKeyUpMask) handler: ^ (NSEvent *event) {
self.transientEventMonitor = [NSEvent addLocalMonitorForEventsMatchingMask:(NSLeftMouseDownMask | NSRightMouseDownMask | NSKeyUpMask) handler: ^(NSEvent *event) {
if (self.popoverWindow == nil) return event;
static NSUInteger escapeKey = 53;