Re: Getting current mouse position after scroll
Re: Getting current mouse position after scroll
- Subject: Re: Getting current mouse position after scroll
- From: Rick Mann <email@hidden>
- Date: Thu, 2 Dec 2010 00:12:36 -0800
On Dec 1, 2010, at 23:53:39, Kyle Sluder wrote:
> Listen for bounds change notifications on the clip view (aka the
> scroll view's -contentView) instead. That's how scrolling actually
> works: the clip view changes its bounds origin and the regular view
> drawing machinery takes care of the rest by translating the document
> view's origin into the clip view's bounds coordinate system.
Oh, of course! Thanks.
_______________________________________________
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