Hi!

I found a small bug in NSImageView.m. When dragging an image from
the NSImageView, the dragged image is placed at the wrong position
due to a miscalculation of that position.

The fix is easy, in the method -mouseDown:, replace the line
p.y -= s.width/2;

with the line
p.y -= s.height/2;

Sorry that I couldn't send a diff. I currently don't have a copy
of the -gui SVN version at hand. It's pretty easy to fix, though. :-)

With best regards,
Guenther



_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to