소스 검색

【综合】大纲展开折叠刷新调整

niehaoyu 7 달 전
부모
커밋
0d66c7e22f
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      PDF Office/PDF Master/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController.swift

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

@@ -2019,15 +2019,15 @@ extension KMLeftSideViewController: NSOutlineViewDelegate, NSOutlineViewDataSour
     }
     
     func outlineViewItemDidExpand(_ notification: Notification) {
-        if self.tocOutlineView.isEqual(to: notification.object) {
-            self.updateOutlineSelection()
-        }
+//        if self.tocOutlineView.isEqual(to: notification.object) {
+//            self.updateOutlineSelection()
+//        }
     }
     
     func outlineViewItemDidCollapse(_ notification: Notification) {
-        if self.tocOutlineView.isEqual(to: notification.object) {
-            self.updateOutlineSelection()
-        }
+//        if self.tocOutlineView.isEqual(to: notification.object) {
+//            self.updateOutlineSelection()
+//        }
     }
     
     func outlineView(_ outlineView: NSOutlineView, validateDrop info: NSDraggingInfo, proposedItem item: Any?, proposedChildIndex index: Int) -> NSDragOperation {