mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:40:37 +00:00
* Source/NSOutlineView.m: Handle rowAtPoint: returning -1.
* Source/NSTableView.m (drawRect:): Only call -highlightSelectionInClipRect: and -drawGridInClipRect: once. (-drawGridInClipRect:): Constrain the vertical grid line to the last row drawn in the rect. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24071 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8a63fd2e1d
commit
84a779733b
3 changed files with 14 additions and 25 deletions
|
@ -832,7 +832,8 @@ static NSImage *unexpandable = nil;
|
|||
_clickedRow = [self rowAtPoint: location];
|
||||
_clickedColumn = [self columnAtPoint: location];
|
||||
|
||||
if ([_tableColumns objectAtIndex: _clickedColumn] == _outlineTableColumn)
|
||||
if (_clickedRow != -1
|
||||
&& [_tableColumns objectAtIndex: _clickedColumn] == _outlineTableColumn)
|
||||
{
|
||||
NSImage *image;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue