fix: hide settings view when start

This commit is contained in:
Serhiy Mytrovtsiy
2020-12-26 13:47:34 +01:00
parent 71a4de8148
commit 2723153de6

View File

@@ -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