* Source/NSSliderCell.m (-drawKnob:): Don't fill the knob

with a background color before drawing the cell. Seems pointless
- GNUstep's default knob image is opaque, but filling with a solid
color prevents transparent knob images from looking good.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37224 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
ericwa 2013-10-14 04:16:30 +00:00
parent 59451cf848
commit 7267a3cd1a
2 changed files with 7 additions and 4 deletions

View file

@ -337,10 +337,6 @@ float _floatValueForMousePoint (NSPoint point, NSRect knobRect,
*/
- (void) drawKnob: (NSRect)knobRect
{
NSColor* knobBackgroundColor = [NSColor controlBackgroundColor];
[knobBackgroundColor set];
NSRectFill (knobRect);
[_knobCell drawInteriorWithFrame: knobRect inView: _control_view];
}