diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index cbc4894a4..456ee086f 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -2874,14 +2874,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5; [_dropOperationFeedbackView setFrame:rect]; [_dropOperationFeedbackView setCurrentRow:row]; [self addSubview:_dropOperationFeedbackView]; - - // FIXME : Maybe we should do this in a timer outside this method. - // Problem: we don't know when the scroll ends or when the next -draggingUpdated is called. - if (row > 0 && location.y - CGRectGetMinY(exposedClipRect) < _rowHeight) - [self scrollRowToVisible:row - 1]; - else if (row < numberOfRows && CGRectGetMaxY(exposedClipRect) - location.y < _rowHeight) - [self scrollRowToVisible:row + 1]; - + return dragOperation; }