diff --git a/AppKit/CPColorWell.j b/AppKit/CPColorWell.j index 85696f5ff..61ebe1a30 100644 --- a/AppKit/CPColorWell.j +++ b/AppKit/CPColorWell.j @@ -91,6 +91,11 @@ var _CPColorWellDidBecomeExclusiveNotification = @"_CPColorWellDidBecomeExclusiv [[CPColorPanel sharedColorPanel] orderFront:self]; } +- (BOOL)isActive +{ + return [self isFirstResponder] && [self isEnabled]; +} + /*! Deactivates the color well. */