mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-10 18:52:19 +00:00
Added collectionView:canDragItemAtIndexes:forEvent:.
Reviewed by me.
This commit is contained in:
1 parent
58e31b9cb4
commit
ed9fee3038
2 files changed
+5
-1
No files matched your search
@@ -597,6 +597,10 @@
|
||||
if (![_selectionIndexes count])
|
||||
return;
|
||||
|
||||
if ([_delegate respondsToSelector:@selector(collectionView:canDragItemsAtIndexes:withEvent:)] &&
|
||||
![_delegate collectionView:self canDragItemsAtIndexes:_selectionIndexes withEvent:anEvent])
|
||||
return;
|
||||
|
||||
// Set up the pasteboard
|
||||
var dragTypes = [_delegate collectionView:self dragTypesForItemsAtIndexes:_selectionIndexes];
|
||||
|
||||
|
||||
Reference in new issue
Block a user