Procházet zdrojové kódy

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

liaoxiaoyue před 1 rokem
rodič
revize
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)