Source/NSTableView.m

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13325 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
pyr 2002-04-02 19:05:48 +00:00
parent 861dd25171
commit 09f948550a
2 changed files with 7 additions and 3 deletions

View file

@ -5914,9 +5914,8 @@ byExtendingSelection: (BOOL)flag
if (_super_view != nil)
{
NSRect rowRect = [self rectOfRow: rowIndex];
NSRect visibleRect = [self convertRect: [_super_view bounds]
toView: self];
NSRect visibleRect = [self visibleRect];
// If the row is over the top, or it is partially visible
// on top,
if ((rowRect.origin.y < visibleRect.origin.y))