Refs #1572. Merge extra commit re highlights.

This commit is contained in:
Alexander Ljungberg
2012-06-25 21:58:02 +01:00
+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;
}