mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-24 19:42:24 +03:00
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
Block a user