Re: Strange toolbar/view/resize cursor interaction
Re: Strange toolbar/view/resize cursor interaction
- Subject: Re: Strange toolbar/view/resize cursor interaction
- From: Eric Shepherd <email@hidden>
- Date: Mon, 21 Apr 2014 20:15:30 -0400
On Mon, Apr 21, 2014 at 7:56 PM, Quincey Morris <
email@hidden> wrote:
> And ‘self’ is the NSOpenGLView, yes? It sounds like your view’s bounds
> origin has been moved by the height of the toolbar. Perhaps what you
> *should* be logging (and using) is ‘where.y - self.bounds.origin.y’ — or
> something similar if the coordinates aren’t flipped.
I've checked -- [self bounds].origin.y is 0. And yeah, self is the
NSOpenGLView.
Eric Shepherd
Gmail: email@hidden
Twitter: sheppy
_______________________________________________
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