Skip to content

Commit

Permalink
Resolve the problem that the same row lost focus can not be editable …
Browse files Browse the repository at this point in the history
…under the overlay mode

Resolve the problem that the same row lost focus can not be editable
under the overlay mode
  • Loading branch information
wolfcon committed Feb 29, 2016
1 parent e4ee2b6 commit 96f6485
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Backlight/AAABacklightView.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,14 @@ - (void)setRadiusEnabled:(BOOL)enabled
[self setNeedsDisplay:YES];
}

/** resolve the problem that the same row lost focus can not be editable under the overlay mode */
- (NSView *)hitTest:(NSPoint)aPoint
{
return nil;
}

- (BOOL)acceptsFirstResponder {
return NO;
}

@end

0 comments on commit 96f6485

Please sign in to comment.