mirror of
https://github.com/Eugeny/tabby.git
synced 2025-09-10 18:34:36 +00:00
enable transparency when vibrancy is enabled on Windows
This commit is contained in:
@@ -233,6 +233,10 @@ start = () => {
|
||||
}
|
||||
}
|
||||
|
||||
if (process.platform == 'win32' && (configData.appearance || {}).vibrancy) {
|
||||
options.transparent = true
|
||||
}
|
||||
|
||||
if (process.platform == 'linux') {
|
||||
options.backgroundColor = '#131d27'
|
||||
}
|
||||
@@ -243,7 +247,7 @@ start = () => {
|
||||
app.window.once('ready-to-show', () => {
|
||||
if (process.platform == 'darwin') {
|
||||
app.window.setVibrancy('dark')
|
||||
} else if (process.platform == 'windows') {
|
||||
} else if (process.platform == 'win32' && (configData.appearance || {}).vibrancy) {
|
||||
setWindowVibrancy(true)
|
||||
}
|
||||
app.window.show()
|
||||
|
Reference in New Issue
Block a user