Browse Source

【综合】新增多页签按钮响应区域优化

niehaoyu 10 months ago
parent
commit
ffd6743d2e

+ 5 - 5
PDF Office/PDF Master/Class/ChromiumTabs/src/Buttons/NewTabButton.m

@@ -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