The Slider cell was using the tick mark drawing that the OS provided,
which could cause them to be drawn with dark color on dark background
on older OS X versions.
This commit adds the missing tick mark drawing.
[path fill];
}
+- (void)drawTickMarks
+{
+ for (int i = 0; i < self.numberOfTickMarks; i++) {
+ NSRect tickMarkRect = [self rectOfTickMarkAtIndex:i];
+ if (self.isEnabled) {
+ [_strokeColor setFill];
+ } else {
+ [_disabledStrokeColor setFill];
+ }
+ NSRectFill(tickMarkRect);
+ }
+}
+
@end