On Apr 22, 2014, at 15:36 , Eric Shepherd <the.she...@gmail.com> wrote:
> When the cursor is at the top edge of my window, the Y value is off by 10 > pixels. > > When the cursor is at the bottom edge of my window, the Y value is off by 40 > pixels. As I suggested previously, this could indicate that your view bounds have been inadvertently scaled. The next thing you must do is log more environmental information. I suggest: — the view’s visibleRect — the view’s bounds — the view’s frame — the window content view’s bounds — the window content view’s frame — the window’s frame — when the cursor is at the top edge of your view, event.locationInWindow in window coordinates — when the cursor is at the top edge of your view, your ‘where’ variable (that is, event.locationInWindow converted to bounds coordinates) — when the cursor is at the bottom edge of your view, event.locationInWindow in window coordinates — when the cursor is at the bottom edge of your view, ‘where’ (bounds coordinates) _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com