Skip to content

Latest commit

 

History

History
5 lines (4 loc) · 425 Bytes

File metadata and controls

5 lines (4 loc) · 425 Bytes
wry patch

On macOS, use the modern readObjectsForClasses:options: pasteboard API to collect dragged file paths. This fixes a panic when the drag source publishes only the modern per-item public.file-url type (as NSDraggingItem.initWithPasteboardWriter: does) instead of the legacy NSFilenamesPboardType, and removes the deprecated API as the primary path. The legacy type is kept as a defensive fallback.