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 21:44:35 -0400
On Mon, Apr 21, 2014 at 8:24 PM, Quincey Morris <
email@hidden> wrote:
> That can’t be! What is ‘where.y’ at the very top of your view? Can you log
> self.bounds so we can see all of it?
>
I've flipped my view because I'm dealing with existing code that assumes
that (0,0) is the top-left corner of the window. So this is as-expected.
What's not expected is that converting [theEvent locationInWindow] to view
coordinates using [myGLView convertPoint:where fromView:nil] is giving Y
values that are skewed by approximately 40 pixels in full-height toolbar
mode.
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