removed call to scrollRowToVisible: the bug is in clipviews and should not be fixed in the tableview itself.

This commit is contained in:
Randall Luecke
2010-01-08 00:05:24 -06:00
parent 56f6da606c
commit bbc521a2f3
-2
View File
@@ -2168,7 +2168,6 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
_isSelectingSession = YES;
[self _updateSelectionWithMouseAtRow:row];
[self scrollRowToVisible:row];
[self _updateSelectionWithMouseAtRow:[self rowAtPoint:aPoint]];
if ((_implementedDataSourceMethods & CPTableViewDataSource_tableView_setObjectValue_forTableColumn_row_)
@@ -2218,7 +2217,6 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
if (mouseIsUp
&& (_implementedDataSourceMethods & CPTableViewDataSource_tableView_setObjectValue_forTableColumn_row_)
&& !_trackingPointMovedOutOfClickSlop
//&& (((new Date()).getTime() - _startTrackingTimestamp.getTime()) <= CLICK_TIME_DELTA))
&& ([[CPApp currentEvent] clickCount] > 1))
{
columnIndex = [self columnAtPoint:lastPoint];