Re: Slow down a scroller?
Re: Slow down a scroller?
- Subject: Re: Slow down a scroller?
- From: Kyle Sluder <email@hidden>
- Date: Wed, 11 Sep 2013 10:16:54 -0700
On Sep 11, 2013, at 9:59 AM, Steve Mills <email@hidden> wrote:
>
> My mistake. I should've said that I was dividing by 100. I guess I also neglected to mention that this scroller is the scroller in an NSScrollView. In this mode, the document view is the same size as the scroll view, and we change the scroller's target and action instead of using the default so we can make the scroller pretend it's scrolling measure by measure instead of by pixels.
Does calling -[NSScrolView set{Vertical,Horizontal}LineScroll:] not affect the scroll wheel behavior?
If not, what about implementing -scrollWheel: in your document view?
Furthermore, your document view is the same size as your scroll view? Is this intentional? Because that's not how the scrolling architecture is designed to work.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden