Browse Source

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

tangchao 1 year ago
parent
commit
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())
     }