Do not override drawRect:! Override the parts drawing methods:
– drawKnobSlotInRect:highlight:
– drawKnob
https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSScroller_Class/Reference/Reference.html
-raleigh
On Apr 3, 2012, at 12:47 AM, Ryan Joseph w
On 3 Apr 2012, at 08:47, Ryan Joseph wrote:
> I've just started using CoreAnimation for fading views and simple things like
> that but now I've run across a problem with NSScroller.
>
> In a view which is layer backed (setWantsLayer is on) I have a NSScrollView
> with a custom NSScroller subcl
I've just started using CoreAnimation for fading views and simple things like
that but now I've run across a problem with NSScroller.
In a view which is layer backed (setWantsLayer is on) I have a NSScrollView
with a custom NSScroller subclass which performs drawing in drawRect:. When the
root