This commit is contained in:
parent
90706b184f
commit
6ba77904d6
1 changed files with 1 additions and 1 deletions
|
|
@ -737,7 +737,7 @@ static void recursive_dispatch_key_released(MwLL handle, int* k) {
|
||||||
|
|
||||||
- (NSView*)hitTest:(NSPoint)aPoint {
|
- (NSView*)hitTest:(NSPoint)aPoint {
|
||||||
if(self->_child) {
|
if(self->_child) {
|
||||||
return NSPointInRect(aPoint, givenRect) ? self : nil;
|
return NSPointInRect(aPoint, [self bounds]) ? self : nil;
|
||||||
} else {
|
} else {
|
||||||
return [super hitTest:aPoint];
|
return [super hitTest:aPoint];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue