Merge pull request #1288 from deepak1556/native_window_mac_patch
added acceptsFirstMouse for controlRegionView
This commit is contained in:
commit
c4b240170d
1 changed files with 4 additions and 0 deletions
|
@ -243,6 +243,10 @@ static const CGFloat kAtomWindowCornerRadius = 4.0;
|
||||||
shellWindow_->HandleMouseEvent(event);
|
shellWindow_->HandleMouseEvent(event);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (BOOL)acceptsFirstMouse:(NSEvent*)event {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@interface AtomProgressBar : NSProgressIndicator
|
@interface AtomProgressBar : NSProgressIndicator
|
||||||
|
|
Loading…
Reference in a new issue