* 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:
Eric Wasylishen 2013-10-14 04:16:30 +00:00
parent 2ff6b7e2f7
commit 9dfd31dc6e
2 changed files with 7 additions and 4 deletions

View file

@ -1,3 +1,10 @@
2013-10-13 Eric Wasylishen <ewasylishen@gmail.com>
* 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 <ewasylishen@gmail.com>
* Panels/English.lproj/GSPageLayout.gorm:

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];
}