|
@@ -180,7 +180,6 @@ class KMToolbarController: NSViewController {
|
|
|
toolbarType = .None
|
|
|
mainToolBarView?.toolbarType = .Main
|
|
|
mainToolBarView?.reloadateToolbar()
|
|
|
- addObserverForAppearanceChange()
|
|
|
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(selectedShapAnnotationChangeNotification(_:)), name: NSNotification.Name.init(rawValue: "KMSelectedShapAnnotationChangeNotification"), object: nil)
|
|
|
NotificationCenter.default.addObserver(self, selector: #selector(PDFChangedNotification(_:)), name: NSNotification.Name.init(rawValue: "PDFChangedNotification"), object: nil)
|
|
@@ -248,12 +247,6 @@ class KMToolbarController: NSViewController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // MARK: Dark&Light
|
|
|
-
|
|
|
- func addObserverForAppearanceChange() -> Void {
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
// MARK: -
|
|
|
// MARK: Public Methods
|
|
|
|
|
@@ -584,6 +577,7 @@ class KMToolbarController: NSViewController {
|
|
|
super.interfaceThemeDidChanged(appearance)
|
|
|
|
|
|
self.mainToolBarView?.interfaceThemeDidChanged(appearance)
|
|
|
+ self.childToolBarView?.interfaceThemeDidChanged(appearance)
|
|
|
}
|
|
|
}
|
|
|
|