소스 검색

Merge branch 'develop_PDFReaderProNew' of git.kdan.cc:Mac_PDF/PDF_Office into develop_PDFReaderProNew

tangchao 10 달 전
부모
커밋
e32798cb07
1개의 변경된 파일7개의 추가작업 그리고 6개의 파일을 삭제
  1. 7 6
      PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift

+ 7 - 6
PDF Office/PDF Master/Class/PDFWindowController/ViewController/KMMainViewController+Action.swift

@@ -1316,22 +1316,23 @@ extension KMMainViewController {
                 default:
                     break
                 }
+                self.rightSideViewController.isHidden = false
+                self.rightSideViewController.subViewType = .AnnotationProperts
                 if annotation != nil{
                     self.listView.activeAnnotations.removeAllObjects()
 //                    self.listView.activeAnnotations.add(annotation as Any)
                     var newAnnonations : [CPDFAnnotation] = []
                     newAnnonations.append(annotation!)
                     self.listView.updateActiveAnnotations(newAnnonations)
-                    self.openRightPane()
+//                    self.openRightPane()
                 }
                 //        self.rightSideViewController.view.isHidden = false
-                self.rightSideViewController.isHidden = false
-                self.rightSideViewController.subViewType = .AnnotationProperts
+              
             }
             
-            if (annotation != nil) {
-                self.listView.updateIsRightActiveAnnotations([annotation!])
-            }
+//            if (annotation != nil) {
+//                self.listView.updateIsRightActiveAnnotations([annotation!])
+//            }
         }
     }