瀏覽代碼

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

tangchao 1 年之前
父節點
當前提交
be5a9f15d4

+ 4 - 0
PDF Office/PDF Office/Class/PDFWindowController/Toolbar/KMToolbarViewController.swift

@@ -197,6 +197,10 @@ class KMToolbarViewController: NSViewController {
     
     
     @IBAction func zoomModelSelectButtonAction(_ sender: NSPopUpButton) {
+        for item in sender.itemArray {
+            item.state = .off
+        }
+        sender.selectedItem?.state = .on
         self.delegate?.toolbarViewController?(self, zoomModel: sender.selectedTag())
     }