Use the older, more available API

This commit is contained in:
Lior Halphon 2021-04-14 15:24:06 +03:00
parent 8a84a5897e
commit dd86077410
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ static const uint8_t workboy_vk_to_key[] = {
- (void) _init
{
[self registerForDraggedTypes:[NSArray arrayWithObjects: NSPasteboardTypeFileURL, nil]];
[self registerForDraggedTypes:[NSArray arrayWithObjects: NSFilenamesPboardType, nil]];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(ratioKeepingChanged) name:@"GBAspectChanged" object:nil];
tracking_area = [ [NSTrackingArea alloc] initWithRect:(NSRect){}