mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-24 11:02:47 +03:00
fixed #388 - option.transparent not required anymore
This commit is contained in:
parent
81579fa9cc
commit
a7bee5dd01
@ -233,8 +233,6 @@ start = () => {
|
||||
minWidth: 400,
|
||||
minHeight: 300,
|
||||
webPreferences: {webSecurity: false},
|
||||
//- background to avoid the flash of unstyled window
|
||||
backgroundColor: '#131d27',
|
||||
frame: false,
|
||||
show: false,
|
||||
}
|
||||
@ -248,9 +246,8 @@ start = () => {
|
||||
}
|
||||
}
|
||||
|
||||
if (['darwin', 'win32'].includes(process.platform)) {
|
||||
options.transparent = true
|
||||
delete options.backgroundColor
|
||||
if (process.platform == 'linux') {
|
||||
options.backgroundColor = '#131d27'
|
||||
}
|
||||
|
||||
app.commandLine.appendSwitch('disable-http-cache')
|
||||
|
Loading…
Reference in New Issue
Block a user