On Sep 11, 2013, at 12:49:49, Steve Mills <smi...@makemusic.com> wrote:

> On Sep 11, 2013, at 12:16:54, Kyle Sluder <k...@ksluder.com>
> 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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to