diff --git a/ChangeLog b/ChangeLog index 5b326776a..93c752ee6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2013-10-13 Eric Wasylishen + + * 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. + 2013-10-13 Eric Wasylishen * Panels/English.lproj/GSPageLayout.gorm: diff --git a/Source/NSSliderCell.m b/Source/NSSliderCell.m index 7e0acfeb3..a20cc0251 100644 --- a/Source/NSSliderCell.m +++ b/Source/NSSliderCell.m @@ -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]; }