mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-15 00:34:08 +09:00
disable settings open onstart
This commit is contained in:
@@ -34,8 +34,8 @@ class SettingsWindow: NSWindow, NSWindowDelegate {
|
||||
self.collectionBehavior = .moveToActiveSpace
|
||||
self.titlebarAppearsTransparent = true
|
||||
self.appearance = NSAppearance(named: .darkAqua)
|
||||
// self.center()
|
||||
self.setIsVisible(true)
|
||||
self.center()
|
||||
self.setIsVisible(false)
|
||||
|
||||
let windowController = NSWindowController()
|
||||
windowController.window = self
|
||||
@@ -189,7 +189,7 @@ private class SettingsView: NSView {
|
||||
self.navigationView?.addSubview(menu)
|
||||
}
|
||||
self.modules = list
|
||||
self.openMenu("Disk")
|
||||
// self.openMenu("CPU")
|
||||
}
|
||||
|
||||
@objc private func menuCallback(_ notification: Notification) {
|
||||
|
||||
Reference in New Issue
Block a user