Преглед на файлове

【fix】【BOTA】缩略图列表,未支持直接拖拽页面到桌面上提取文件

tangchao преди 6 месеца
родител
ревизия
253034598d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController+Thumbnail.swift

+ 2 - 2
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController+Thumbnail.swift

@@ -128,8 +128,8 @@ extension KMLeftSideViewController {
         self.thumbnailTableView.botaDelegate = self
         self.thumbnailTableView.menu?.delegate = self
         self.thumbnailTableView.registerForDraggedTypes([.localDraggedTypes, .fileURL,.string,.pdf])
-//        self.thumbnailTableView.registerForDraggedTypes(NSFilePromiseReceiver.readableDraggedTypes.map { NSPasteboard.PasteboardType($0) })
-//        self.thumbnailTableView.setDraggingSourceOperationMask(.every, forLocal: false)
+        self.thumbnailTableView.registerForDraggedTypes(NSFilePromiseReceiver.readableDraggedTypes.map { NSPasteboard.PasteboardType($0) })
+        self.thumbnailTableView.setDraggingSourceOperationMask(.every, forLocal: false)
     }
     
     func thumb_initDefalutValue() {