fix settings background color in darkmode

This commit is contained in:
Serhiy Mytrovtsiy
2020-06-10 17:06:41 +02:00
parent a9342d10b7
commit d7ec2b77eb

View File

@@ -41,7 +41,7 @@ open class Settings: NSView, Settings_p {
self.moduleSettings = moduleSettings
super.init(frame: NSRect(x: 0, y: 0, width: Constants.Settings.width, height: Constants.Settings.height))
self.wantsLayer = true
self.layer?.backgroundColor = NSColor.windowBackgroundColor.cgColor
self.layer?.backgroundColor = NSColor(hexString: "#ececec").cgColor
addHeader(state: enabled)
addWidgetSelector()