Re: Slow down a scroller?
Re: Slow down a scroller?
- Subject: Re: Slow down a scroller?
- From: Steve Mills <email@hidden>
- Date: Wed, 11 Sep 2013 11:59:17 -0500
On Sep 11, 2013, at 11:30:45, Alex Zavatone <email@hidden>
wrote:
> Think about this.
>
> When in iTunes on an iOS device, and you are scrubbing an audio track, the farther down your finger is from the scrub knob, when you drag left and right, there is a multiplier to make the scrubbing slower.
>
> I'm thinking that in your case, you could use a scroll rate multiplier that changes depending on a measurement that you define. I think that you'd multiply by numbers < 1, not use large numbers.
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.
I'm thinking the problem here is that since the doc view is the same size as the scroll view, it doesn't know that it needs to send scrollwheel events in smaller increments, even though the scroller's thumb size is very small. Does that sound feasible? It seems that the scroller doesn't really affect how the scroll view handles scrollwheel events, but it's only there to show where you are within the document view and to handle actual clicks in the scroller's thumb and page area (now that it no longer has those nice arrows that sure were useful before they took them away).
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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