From dd860774109b50b66267106f20d99e0a8d2a6396 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Wed, 14 Apr 2021 15:24:06 +0300 Subject: [PATCH] Use the older, more available API --- Cocoa/GBView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cocoa/GBView.m b/Cocoa/GBView.m index 645544f..5c1922c 100644 --- a/Cocoa/GBView.m +++ b/Cocoa/GBView.m @@ -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){}