Pārlūkot izejas kodu

【综合】页面编辑 未支持直接拖拽页面到桌面上提取文件(已修复)

tangchao 1 gadu atpakaļ
vecāks
revīzija
a6aad4d527

+ 3 - 3
PDF Office/PDF Master/Class/PDFTools/PageEdit/Controller/KMPDFEditViewController.swift

@@ -1358,9 +1358,9 @@ extension KMPDFEditViewController: KMThumbnailViewDelegate {
     }
     
     func thumbnailView(thumbanView: KMThumbnailView, shouldPasteboardWriterForItemAt indexPath: IndexPath) -> Bool {
-        if (!self.canPayFunction) {
-            return false
-        }
+//        if (!self.canPayFunction) {
+//            return false
+//        }
 
         return true
     }

+ 1 - 1
PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/Thumbnail/KMPDFThumbnailView.swift

@@ -45,7 +45,7 @@ class KMPDFThumbnailView: KMThumbnailView {
         self.collectionView.km.register(cell: KMPDFThumbnailItem.self)
         
         self.collectionView.registerForDraggedTypes(NSFilePromiseReceiver.readableDraggedTypes.map { NSPasteboard.PasteboardType($0) })
-        self.collectionView.setDraggingSourceOperationMask([.copy, .delete], forLocal: true)
+        self.collectionView.setDraggingSourceOperationMask([.copy, .delete], forLocal: false)
     }
     
     override func initSubViews() {

+ 1 - 0
PDF Office/PDF Master/Class/README.md

@@ -31,6 +31,7 @@
 * KMBatchOperateWindowController
 
 ## 属性面板
+* KMGeneralAnnotationViewController
 
 - 【页面设置】
 * KMPageDisplayPropertiesViewController

+ 0 - 32
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanmobile.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -499,37 +499,5 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "97355821-9929-4F22-9E18-787CA2C2B2FA"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "1608"
-            endingLineNumber = "1608"
-            landmarkName = "addAutoSaveEvent()"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
-         <BreakpointContent
-            uuid = "838E1538-ABF3-49FF-963A-26F032E93ACA"
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            filePath = "PDF Master/Class/PDFWindowController/ViewController/KMMainViewController.swift"
-            startingColumnNumber = "9223372036854775807"
-            endingColumnNumber = "9223372036854775807"
-            startingLineNumber = "1665"
-            endingLineNumber = "1665"
-            landmarkName = "autoSaveTimerAction(_:)"
-            landmarkType = "7">
-         </BreakpointContent>
-      </BreakpointProxy>
    </Breakpoints>
 </Bucket>