From 7267a3cd1af72420006b435d1c22a543b85d35e8 Mon Sep 17 00:00:00 2001 From: ericwa Date: Mon, 14 Oct 2013 04:16:30 +0000 Subject: [PATCH] * 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 --- ChangeLog | 7 +++++++ Source/NSSliderCell.m | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) 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]; }