|
@@ -35,10 +35,10 @@
|
|
|
|
|
|
// Override to only accept clicks within the bounds of the defined path, not
|
|
|
// the entire bounding box. |aPoint| is in the superview's coordinate system.
|
|
|
-- (NSView*)hitTest:(NSPoint)aPoint {
|
|
|
- if ([self pointIsOverButton:aPoint])
|
|
|
- return [super hitTest:aPoint];
|
|
|
- return nil;
|
|
|
-}
|
|
|
+//- (NSView*)hitTest:(NSPoint)aPoint {
|
|
|
+// if ([self pointIsOverButton:aPoint])
|
|
|
+// return [super hitTest:aPoint];
|
|
|
+// return nil;
|
|
|
+//}
|
|
|
|
|
|
@end
|