mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 08:30:59 +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
2ff6b7e2f7
commit
9dfd31dc6e
2 changed files with 7 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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…
Reference in a new issue