Refs #1572. Merge extra commit re highlights.

This commit is contained in:
Alexander Ljungberg committed 2012-06-25 21:58:02 +01:00
commit c52315cd8d
1 file changed
+6 -1
+6 -1
View File
@@ -529,7 +529,12 @@ CPButtonImageOffset = 3.0;
[self highlight:YES];
}
else
[self highlight:NO];
{
if (_showsStateBy & (CPChangeGrayCellMask | CPChangeBackgroundCellMask))
[self highlight:[self state] != CPOffState];
else
[self highlight:NO];
}
return startedTracking;
}