On 4/30/07, Richard Frith-Macdonald <[EMAIL PROTECTED]> wrote:
The coordinates returned by the -draggedImageLocation method are the
coordinates of the bottom left corner of the image in the base
coordinate system of the window receiving the drag.  That means you
need to do 'dropPoint = [dropView convertPoint: imageLocation
fromView: nil];' to convert the point to the coordinate system of
dropView in order to position the object in dropView.

That was the problem. That it worked under 0.11 made me think it
wasn't a bug in my code, but you've explained that nicely. Thanks!

-Michael


_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to