Fix drag and drop bug

This commit is contained in:
Randall Luecke committed 2010-12-02 19:50:55 -05:00
1 parent 32decc31db
commit 3d1992440b
1 file changed
+1 -1
+1 -1
View File
@@ -3412,7 +3412,7 @@ CPTableViewFirstColumnOnlyAutoresizingStyle = 5;
numberOfRows = [self numberOfRows];
if (row < 0)
row = (_cachedRowHeights[numberOfRows-1].heightAboveRow + _cachedRowHeights[numberOfRows-1].height + _intercellSpacing.height < dragPoint.y) ? numberOfRows : row;
row = (_CGRectGetMaxY(rect) < dragPoint.y) ? numberOfRows : row;
else if (dragPoint.y > MAX(bottomThirty, bottomPoint - 6))
row = lowerRow;