Playlist now supports dragging tracks out of app

Playlist now supports dragging copies of URL references to other apps,
including Finder, and possibly other audio players. The chosen drag
operation is to copy files.

Fixes #75

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-10 01:32:09 -08:00
parent 421eb8ed82
commit a4387dc6d1
1 changed files with 2 additions and 0 deletions

View File

@ -117,6 +117,8 @@ static NSArray *cellIdentifiers = nil;
options:(NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld)
context:nil];
[[NSUserDefaultsController sharedUserDefaultsController] addObserver:self forKeyPath:@"values.fontSize" options:(NSKeyValueObservingOptionNew | NSKeyValueObservingOptionInitial) context:nil];
[self.tableView setDraggingSourceOperationMask:NSDragOperationCopy forLocal:NO];
}
- (void)observeValueForKeyPath:(NSString *)keyPath