minor dragging offset fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24466 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-02-04 13:00:15 +00:00
parent 16fcaeab83
commit a39fcf72a5
2 changed files with 5 additions and 1 deletions

View file

@ -227,7 +227,7 @@ static Class imageCellClass;
s = [anImage size];
p = [theEvent locationInWindow];
p.x -= s.width/2;
p.y -= s.width/2;
p.y -= s.height/2;
[_window dragImage: anImage
at: p
offset: NSMakeSize(0, 0)