Re: Rotate a standard Cocoa control?
Re: Rotate a standard Cocoa control?
- Subject: Re: Rotate a standard Cocoa control?
- From: Graham Cox <email@hidden>
- Date: Sun, 10 May 2015 14:34:41 +1000
> On 10 May 2015, at 2:26 pm, David Durkee <email@hidden> wrote:
>
> Although this can be a pain if the control is in a view that also scrolls. I think some Adobe applications have this issue.
Many apps do, because of the way NSResponder works by passing unhandled events to the next responder. It happens with any nested scroll views, or any other view that implements the -scrollWheel: method.
I’m not sure if there’s any way to resolve it, because the target of a scroll wheel event is given solely by its frame, not whether it’s key, etc. One way would be to require a modifier key, but since that’s it's widely implemented that way, it isn’t very discoverable.
—Graham
_______________________________________________
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