From f2c19ad40366f9e6898a9aaef330f0df9fae0232 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 20 Mar 2010 20:58:08 -0700 Subject: [PATCH] Slight fix for collectionView:canDragItemsAtIndexes:withEvent: not passing the correct event. Reviewed by me. --- AppKit/CPCollectionView.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppKit/CPCollectionView.j b/AppKit/CPCollectionView.j index 14c4dcc96..e6976c3ba 100644 --- a/AppKit/CPCollectionView.j +++ b/AppKit/CPCollectionView.j @@ -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