mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:10:48 +00:00
* 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:
parent
59451cf848
commit
7267a3cd1a
2 changed files with 7 additions and 4 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue