I'm using https://github.com/kelan/yrk-spinning-progress-indicator to get a white colored spinner. Note that this is not a subclass of NSProgressIndicator, but instead a custom NSView.
The problem is that the corners of this custom view are showing as white, instead of just a clear background. You can see this in this image:
This is the code I have :
[_statusProgressIndicator setColor:[NSColor whiteColor]];
[_statusProgressIndicator setIndeterminate:YES];
[_statusProgressIndicator setBackgroundColor:[NSColor clearColor]];
[_statusProgressIndicator setDrawsBackground:YES];
[_statusProgressIndicator startAnimation:self];
I also tried:
[_statusProgressIndicator setDrawsBackground:NO];
But it has the same effect.
Any ideas on how to fix this?