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 13:54:25 -0500
On Sep 11, 2013, at 12:49:49, Steve Mills <email@hidden> wrote:
> On Sep 11, 2013, at 12:16:54, Kyle Sluder <email@hidden>
> wrote:
>
>> 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.
>
> Yes, it's very intentional. Like I said, this is a different mode - only part of the document view changes as the user scrolls horizontally. The left edge remains static - it's where the staff names are listed.
Well. If I size the document view so it's 2x wider than the scroll view, then scrollwheel events events appear as non-zero and the scrolling actually works as expected. I think this will work. We never actually let the document view's origin change in this mode, because the scroll view is not really scrolling it, and we always respect the clip when drawing, so we won't be drawing too much.
Thanks for bouncing ideas around in my brain. :)
--
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