Fix last mod

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-04-02 04:11:43 +00:00
parent 4fbf9733d1
commit 508987f93b

View file

@ -3628,7 +3628,7 @@ static inline float computePeriod(NSPoint mouseLocationWin,
*/
s = [dragImage size];
s.width = p.x - s.width/2;
s.height = p.y - s.height/2;
s.height = p.y + s.height/2; // View is flipped
/*
* Find the current mouse location and adjust
@ -3639,7 +3639,7 @@ static inline float computePeriod(NSPoint mouseLocationWin,
p = [self convertPoint:
[theEvent locationInWindow] fromView: nil];
p.x += s.width;
p.y -= s.height; // View is flipped
p.y += s.height;
[self dragImage: dragImage
at: p