Closed xiao99xiao closed 10 years ago
The comment for RBLPopoverViewControllerBehaviorTransient says:
But while the transientEventMonitor is using
[NSEvent addLocalMonitorForEventsMatchingMask:(NSLeftMouseDownMask | NSRightMouseDownMask | NSKeyUpMask) handler: ^(NSEvent *event) {...}]
Thus MouseDown outside the application will not close the popover, especially when attached to a NSStatusItem.
I suggest using addGlobalMonitorForEventsMatchingMask:handler: here instead.
I see it's already fixed long ago, ignore this please.
The comment for RBLPopoverViewControllerBehaviorTransient says:
But while the transientEventMonitor is using
Thus MouseDown outside the application will not close the popover, especially when attached to a NSStatusItem.
I suggest using addGlobalMonitorForEventsMatchingMask:handler: here instead.