diff --git a/ChangeLog b/ChangeLog index fdd8fc797..3aa822e2f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-12-02 Fred Kiefer + + * Source/NSScroller.m (-drawKnobSlot): Draw the slot even when the + scroller is disabled. + 2013-12-01 Fred Kiefer * Source/Functions.m (NSFrameRectWithWidth): Use one pixel width diff --git a/Source/NSScroller.m b/Source/NSScroller.m index 2af82f759..a50dfcd34 100644 --- a/Source/NSScroller.m +++ b/Source/NSScroller.m @@ -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