fix hitTest
All checks were successful
pyrite-dev/milsko/pipeline/head This commit looks good

This commit is contained in:
IoI_xD 2026-03-25 21:06:32 -07:00
commit 6ba77904d6

View file

@ -737,7 +737,7 @@ static void recursive_dispatch_key_released(MwLL handle, int* k) {
- (NSView*)hitTest:(NSPoint)aPoint {
if(self->_child) {
return NSPointInRect(aPoint, givenRect) ? self : nil;
return NSPointInRect(aPoint, [self bounds]) ? self : nil;
} else {
return [super hitTest:aPoint];
}