Source/NSTableView.m

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13326 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Pierre-Yves Rivaille 2002-04-02 19:13:46 +00:00
parent 4e04ce6a1a
commit 54c0fcdde7
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,7 @@
2002-04-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([NSTableView -scrollRowToVisible:]):
([NSTableView -scrollColumnToVisible:]):
Bugfix in getting the visibleRect.
Tue Apr 2 10:28:46 2002 Nicola Pero <n.pero@mi.flashnet.it>

View file

@ -5951,8 +5951,7 @@ byExtendingSelection: (BOOL)flag
if (_super_view != nil)
{
NSRect columnRect = [self rectOfColumn: columnIndex];
NSRect visibleRect = [self convertRect: [_super_view bounds]
toView: self];
NSRect visibleRect = [self visibleRect];
float diff;
// If the row is out on the left, or it is partially visible