mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
fix: hide settings view when start
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
|
||||
|
||||
Reference in New Issue
Block a user