mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-07 01:18:02 +00:00
Fix drag and drop bug
This commit is contained in:
1 parent
32decc31db
commit
3d1992440b
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user