зеркало из https://github.com/github/Rebel.git
Block style fix.
This commit is contained in:
Родитель
7d7534c5fe
Коммит
4ddf6624b9
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче