Skip to content

Commit 40e3d8e

Browse files
commented unused code
1 parent 1fd0876 commit 40e3d8e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

PBSourceViewCell.m

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *
154154

155155
// Another way of implementing the above code would be to keep an NSButtonCell as an ivar, and simply call trackMouse:inRect:ofView:untilMouseUp: on it, if the tracking area was inside of it.
156156

157-
NSLog(@"mouse tracking; %@", theEvent);
158157
NSPoint locationOfTouch = [controlView convertPoint:[theEvent locationInWindow] fromView:nil];
159158

160159
BOOL mouseInButton = NSMouseInRect(locationOfTouch, [self infoButtonRectForBounds:cellFrame], [controlView isFlipped]);
@@ -170,10 +169,6 @@ - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *
170169
// Send the action, and redisplay
171170
iMouseDownInInfoButton = NO;
172171
[controlView setNeedsDisplayInRect:cellFrame];
173-
// NSLog(@"fired");
174-
// if (iInfoButtonAction) {
175-
// [NSApp sendAction:iInfoButtonAction to:[self target] from:[self controlView]];
176-
// }
177172
}
178173

179174
return [super trackMouse:theEvent inRect:cellFrame ofView:controlView untilMouseUp:flag];

0 commit comments

Comments
 (0)