From ecdb064a5bbcf04d7a771064e7943ac538cea9cc Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Wed, 13 Jun 2012 15:21:42 -0700 Subject: [PATCH] Makes CPButton to dim image when disabled by default --- AppKit/CPButton.j | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AppKit/CPButton.j b/AppKit/CPButton.j index b79b72c93..f40fbdf75 100644 --- a/AppKit/CPButton.j +++ b/AppKit/CPButton.j @@ -176,6 +176,8 @@ CPButtonImageOffset = 3.0; // Continuous button defaults. _periodicInterval = 0.05; _periodicDelay = 0.5; + + _imageDimsWhenDisabled = YES; } // Setting the state