Minor tweak suggested by Enrico

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21033 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-04-02 04:09:39 +00:00
parent 39bc6b4f68
commit 4fbf9733d1
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2005-04-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTableView.m: ([-mouseDown:]) tweak vertical image
offset because view is flipped. Still not sure this code is
correct ... which coordinate system is the image offset supplied
by ([-dragImageForRows:event:dragImageOffset:]) supposed to be in?
2005-04-01 Adam Fedor <fedor@gnu.org>
* Headers/AppKit/NSDataLinkManager.h, Source/NSDataLinkManager.m:

View file

@ -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;
p.y -= s.height; // View is flipped
[self dragImage: dragImage
at: p