fixed broken drag and drop in 1.4.17
This commit is contained in:
parent
ff3a1a649b
commit
bc160fab01
|
@ -103,7 +103,7 @@ draggingDestinationWindow
|
|||
- (NSDragOperation)
|
||||
draggingSourceOperationMask
|
||||
{
|
||||
return NSDragOperationNone;
|
||||
return NSDragOperationCopy;
|
||||
}
|
||||
|
||||
- (NSPoint)draggingLocation
|
||||
|
@ -144,7 +144,7 @@ draggingSourceOperationMask
|
|||
|
||||
- (NSDragOperation)draggingSession:(NSDraggingSession *)session sourceOperationMaskForDraggingContext:(NSDraggingContext)context
|
||||
{
|
||||
return NSDragOperationNone;
|
||||
return NSDragOperationCopy;
|
||||
}
|
||||
|
||||
- (void)enumerateDraggingItemsWithOptions:(NSDraggingItemEnumerationOptions)enumOpts forView:(NSView *)view classes:(NSArray *)classArray searchOptions:(NSDictionary *)searchOptions usingBlock:(void (^)(NSDraggingItem *draggingItem, NSInteger idx, BOOL *stop))block
|
||||
|
|
Loading…
Reference in New Issue