1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-25 06:06:21 +03:00

GH-436 Slightly darken the title bar

This commit is contained in:
Tae Won Ha 2017-06-29 23:12:22 +02:00
parent 449b16661b
commit 562c82ef21
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -238,7 +238,7 @@ class MainWindow: NSObject,
themePrefChanged: themePrefChanged, themeChanged: themeChanged, usesTheme: usesTheme,
forTheme: {
self.window.titlebarAppearsTransparent = true
self.window.backgroundColor = state.appearance.theme.payload.background
self.window.backgroundColor = state.appearance.theme.payload.background.brightening(by: 0.9)
self.setWorkspaceTheme(with: state.appearance.theme.payload)
self.lastThemeMark = state.appearance.theme.mark