mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 18:11:13 +00:00
* Source/NSScroller.m (-drawKnobSlot): Draw the slot even when
the scroller is disabled. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37427 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b6a7b5ad60
commit
957f817a56
2 changed files with 7 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-12-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSScroller.m (-drawKnobSlot): Draw the slot even when the
|
||||
scroller is disabled.
|
||||
|
||||
2013-12-01 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/Functions.m (NSFrameRectWithWidth): Use one pixel width
|
||||
|
|
|
@ -1115,11 +1115,8 @@ static float buttonsOffset = 1.0; // buttonsWidth = sw - 2*buttonsOffset
|
|||
|
||||
- (void) drawKnobSlot
|
||||
{
|
||||
if (_scFlags.isEnabled)
|
||||
{
|
||||
[self drawKnobSlotInRect: [self rectForPart: NSScrollerKnobSlot]
|
||||
highlight: NO];
|
||||
}
|
||||
[self drawKnobSlotInRect: [self rectForPart: NSScrollerKnobSlot]
|
||||
highlight: NO];
|
||||
}
|
||||
|
||||
- (void) drawKnobSlotInRect: (NSRect)slotRect highlight: (BOOL)flag
|
||||
|
|
Loading…
Reference in a new issue