Parcourir la source

【页面编辑】- 点击页面编辑缩略图退出模式方式修改

liaoxiaoyue il y a 1 an
Parent
commit
88b7b53185

+ 1 - 2
PDF Office/PDF Office/Class/PDFWindowController/ViewController/KMMainViewController.swift

@@ -287,8 +287,7 @@ import Cocoa
         controller.itemClick = {
             [weak self] (index: Int, param: Any) in
             if (index == 1) { /// 双击退出
-                self?.exitPageEdit()
-                
+                self?.enterEditMode(self!.leftSideViewController)
                 DispatchQueue.main.async {
                     let pageIndex: Int = param as! Int
                     self?.listView.go(toPageIndex: pageIndex, animated: true)