Преглед на файлове

【视图】视图界面UI变化处理

Signed-off-by: niehaoyu <niehaoyu@kdanmobile.com>
niehaoyu преди 1 година
родител
ревизия
0038653e41

BIN
PDF Office/PDF Office.xcodeproj/project.xcworkspace/xcuserdata/kdanmobile.xcuserdatad/UserInterfaceState.xcuserstate


+ 3 - 1
PDF Office/PDF Office/Class/PDFWindowController/Side/LeftSide/KMLeftSideViewController.swift

@@ -75,7 +75,6 @@ class KMLeftSideViewController: NSViewController, KMThumbnailViewControllerDeleg
         super.viewDidLoad()
         self.addMenuTitle()
         self.refreshShowMethod()
-//        self.leftTableview.selectRowIndexes([0], byExtendingSelection: true)
     }
     
     func showPanelView() {
@@ -88,6 +87,9 @@ class KMLeftSideViewController: NSViewController, KMThumbnailViewControllerDeleg
         } else {
             self.contentBox.isHidden = false
             self.panelSetViewController.view.removeFromSuperview()
+            if self.type.methodType == .None {
+                self.delegate?.controlStateChange?(self, show: false)
+            }
         }
     }