Slight fix for collectionView:canDragItemsAtIndexes:withEvent: not passing the correct event.

Reviewed by me.
This commit is contained in:
Francisco Ryan Tolmasky I
2010-03-20 20:58:08 -07:00
parent ed9fee3038
commit f2c19ad403
+1 -1
View File
@@ -598,7 +598,7 @@
return;
if ([_delegate respondsToSelector:@selector(collectionView:canDragItemsAtIndexes:withEvent:)] &&
![_delegate collectionView:self canDragItemsAtIndexes:_selectionIndexes withEvent:anEvent])
![_delegate collectionView:self canDragItemsAtIndexes:_selectionIndexes withEvent:_mouseDownEvent])
return;
// Set up the pasteboard