|
@@ -74,7 +74,6 @@ class KMToolbarViewController: NSViewController, NSTextFieldDelegate {
|
|
|
var toolbar : KMToolbar!
|
|
|
var toolbarType : KMToolbarViewType = KMToolbarViewType.None
|
|
|
var toolbarItems : [String : Any] = [:]
|
|
|
- var isShow : Bool = false
|
|
|
@IBOutlet weak var mainWindowController : MainWindowController!
|
|
|
open weak var delegate: KMToolbarViewControllerDelegate?
|
|
|
@IBOutlet var zoomButton: NSPopUpButton!
|
|
@@ -140,8 +139,7 @@ class KMToolbarViewController: NSViewController, NSTextFieldDelegate {
|
|
|
}
|
|
|
|
|
|
@IBAction func showPDFLayoutMode(item: KMToolBoxItem) {
|
|
|
- self.isShow = !isShow
|
|
|
- self.delegate?.showPDFLayoutModeAction?(show: isShow)
|
|
|
+ self.delegate?.showPDFLayoutModeAction?(show: true)
|
|
|
}
|
|
|
|
|
|
@objc func cropMenuAction(item: KMToolBoxItem) {
|