Re: Odd NSScroller behavior when clicking page dec/inc areas
Re: Odd NSScroller behavior when clicking page dec/inc areas
- Subject: Re: Odd NSScroller behavior when clicking page dec/inc areas
- From: Steve Mills <email@hidden>
- Date: Sun, 15 Sep 2013 00:54:55 -0500
On Sep 13, 2013, at 14:07:53, Kyle Sluder <email@hidden> wrote:
> It does, but it might be one you can work around by changing how you're
> implementing scrolling.
>
> If I understand correctly, you need to pin a pane of controls to the
> edge of the viewport, and scroll the content underneath.
They aren't actually separate controls that stick to the left edge. It's simply the staff names that stick, while the music on each staff scrolls. Since using testPart can result in the thumb jumping back and forth on either side of the mouse, I'm going to mess with subclassing NSScroller for this mode so I can cache the hit part at mouseDown and use that.
--
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