mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
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:
parent
4fbf9733d1
commit
508987f93b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue