Skip to content

Commit

Permalink
Makes CPButton to dim image when disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
primalmotion committed Jun 13, 2012
1 parent d67a03b commit ecdb064
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AppKit/CPButton.j
Expand Up @@ -176,6 +176,8 @@ CPButtonImageOffset = 3.0;
// Continuous button defaults.
_periodicInterval = 0.05;
_periodicDelay = 0.5;

_imageDimsWhenDisabled = YES;
}

// Setting the state
Expand Down

0 comments on commit ecdb064

Please sign in to comment.