Merge pull request #1288 from deepak1556/native_window_mac_patch

added acceptsFirstMouse for controlRegionView
This commit is contained in:
Cheng Zhao 2015-03-24 18:57:17 +08:00
commit c4b240170d

View file

@ -243,6 +243,10 @@ static const CGFloat kAtomWindowCornerRadius = 4.0;
shellWindow_->HandleMouseEvent(event);
}
- (BOOL)acceptsFirstMouse:(NSEvent*)event {
return YES;
}
@end
@interface AtomProgressBar : NSProgressIndicator